Vexu / arocc

A C compiler written in Zig.
http://aro.vexu.eu/
MIT License
1.15k stars 56 forks source link

zig setCold removed on nightly #762

Closed MisileLab closed 3 months ago

MisileLab commented 3 months ago

related to https://github.com/ziglang/zig/issues/21148 log:

install
└─ install arocc
   └─ zig build-exe arocc ReleaseFast native 9 errors
src/aro/Parser.zig:393:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Parser.zig:398:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Parser.zig:415:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Parser.zig:420:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Parser.zig:654:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Driver/Filesystem.zig:7:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Driver/Filesystem.zig:19:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Driver/Filesystem.zig:38:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
src/aro/Driver/Filesystem.zig:48:5: error: invalid builtin function: '@setCold'
    @setCold(true);
    ^~~~~~~~~~~~~~
error: the following command failed with 9 compilation errors:
/usr/lib/zig/9999/bin/zig build-exe -fsingle-threaded -OReleaseFast --dep aro -Mroot=/home/misile/arocc/src/main.zig --dep system_defaults --dep build_options --dep backend --dep Builtins/Builtin.def --dep Attribute/names.def --dep Diagnostics/messages.def -Maro=/home/misile/arocc/src/aro.zig -Msystem_defaults=/home/misile/arocc/.zig-cache/c/1b18a22cd7666b4de994d135ecafc9a9/options.zig -Mbuild_options=/home/misile/arocc/.zig-cache/c/3a9636679c789b6890c6829c1e31eda4/options.zig --dep zig --dep build_options -Mbackend=/home/misile/arocc/src/backend.zig -MBuiltins/Builtin.def=/home/misile/arocc/.zig-cache/o/312142940bdd855eed805ccc9527c189/Builtin.zig -MAttribute/names.def=/home/misile/arocc/.zig-cache/o/0efd2a72c2a79037f32c2204d0c600ec/names.zig -MDiagnostics/messages.def=/home/misile/arocc/.zig-cache/o/1526c758785a0eeed33e38d9ca57c7aa/messages.zig -Mzig=/home/misile/arocc/deps/zig/lib.zig -lc --cache-dir /home/misile/arocc/.zig-cache --global-cache-dir /home/misile/.cache/zig --name arocc --zig-lib-dir /usr/lib/zig/9999/lib/ --listen=-
Build Summary: 6/9 steps succeeded; 1 failed
install transitive failure
└─ install arocc transitive failure
   └─ zig build-exe arocc ReleaseFast native 9 errors
error: the following build command failed with exit code 1:
/home/misile/arocc/.zig-cache/o/3b427bcce4387cba3c4e421da7716ec2/build /usr/lib/zig/9999/bin/zig /usr/lib/zig/9999/lib /home/misile/arocc /home/misile/arocc/.zig-cache /home/misile/.cache/zig --seed 0x96ddc892 -Z7e71a533c5e525b4 -Doptimize=ReleaseFast

version: 0.14.0-dev.1342+1a178d499