zig/lib/compiler
mlugg 51706af908
compiler: introduce new CallingConvention
This commit begins implementing accepted proposal #21209 by making
`std.builtin.CallingConvention` a tagged union.

The stage1 dance here is a little convoluted. This commit introduces the
new type as `NewCallingConvention`, keeping the old `CallingConvention`
around. The compiler uses `std.builtin.NewCallingConvention`
exclusively, but when fetching the type from `std` when running the
compiler (e.g. with `getBuiltinType`), the name `CallingConvention` is
used. This allows a prior build of Zig to be used to build this commit.
The next commit will update `zig1.wasm`, and then the compiler and
standard library can be updated to completely replace
`CallingConvention` with `NewCallingConvention`.

The second half of #21209 is to remove `@setAlignStack`, which will be
implemented in another commit after updating `zig1.wasm`.
2024-10-19 19:08:59 +01:00
..
aro std.Target: Change Cpu.baseline() to also be able to take OS into consideration. 2024-10-16 00:33:10 +02:00
aro_translate_c compiler: introduce new CallingConvention 2024-10-19 19:08:59 +01:00
reduce reduce: fix compile errors 2024-03-24 17:29:39 +01:00
resinator Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
aro_translate_c.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
build_runner.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
fmt.zig std.posix: Added error message 'ProcessNotFound' for reading and writing in a Linux process (#21430) 2024-10-03 01:54:30 +00:00
libc.zig
objcopy.zig objcopy: check both global and local when remapping 2024-10-12 10:44:17 -07:00
reduce.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
std-docs.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
test_runner.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00