mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
34e4b07d0c
It is possible to get comptime-known values from runtime-known values for example the length of array. Allowing runtime only instructions to be emitted outside function bodies allows these operations to happen. In places where comptime-known values are required we have other methods to ensure that and they usually result in more specific compile errors too. Closes #12240 |
||
---|---|---|
.. | ||
cbe.zig | ||
nvptx.zig |