You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zig build -Doptimize=Debug run -- ls -a -> Exits normally
brianferri in …/Zig-Child.run on main at 10:46 ❯ zig build -Doptimize=Debug run -- ls -a
info: Child process exited with out: .
..
.git
.gitignore
.vscode
.zig-cache
build.zig
build.zig.zon
src
zig-out
zig build -Doptimize=ReleaseSafe run -- ls -a -> thread xxx panic: reached unreachable code
brianferri in …/Zig-Child.run on main at 10:46 ❯ zig build -Doptimize=ReleaseSafe run -- ls -a
thread 273404 panic: reached unreachable code
run
└─ run Zig-Child.run failure
error: the following command terminated unexpectedly:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/zig-out/bin/Zig-Child.run ls -a
Build Summary: 3/5 steps succeeded; 1 failed (disable with --summary none)
run transitive failure
└─ run Zig-Child.run failure
error: the following build command failed with exit code 1:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache/o/2150b426a8144f5f03b6246bfff63461/build /opt/homebrew/Cellar/zig/0.13.0/bin/zig /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache /Users/brianferri/.cache/zig --seed 0x4b0119d4 -Z74439805628802fe -Doptimize=ReleaseSafe run -- ls -a
zig build -Doptimize=ReleaseSmall run -- ls -a -> Fails without apparent error
brianferri in …/Zig-Child.run on main at 10:47 ❯ zig build -Doptimize=ReleaseSmall run -- ls -a
run
└─ run Zig-Child.run failure
error: the following command terminated unexpectedly:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/zig-out/bin/Zig-Child.run ls -a
Build Summary: 3/5 steps succeeded; 1 failed (disable with --summary none)
run transitive failure
└─ run Zig-Child.run failure
error: the following build command failed with exit code 1:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache/o/2150b426a8144f5f03b6246bfff63461/build /opt/homebrew/Cellar/zig/0.13.0/bin/zig /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache /Users/brianferri/.cache/zig --seed 0xdd3b791b -Z16cf26e22baa7c74 -Doptimize=ReleaseSmall run -- ls -a
zig build -Doptimize=ReleaseFast run -- ls -a -> Fails without apparent error
brianferri in …/Zig-Child.run on main at 10:47 ❯ zig build -Doptimize=ReleaseFast run -- ls -a
run
└─ run Zig-Child.run failure
error: the following command terminated unexpectedly:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/zig-out/bin/Zig-Child.run ls -a
Build Summary: 3/5 steps succeeded; 1 failed (disable with --summary none)
run transitive failure
└─ run Zig-Child.run failure
error: the following build command failed with exit code 1:
/Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache/o/2150b426a8144f5f03b6246bfff63461/build /opt/homebrew/Cellar/zig/0.13.0/bin/zig /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run /Users/brianferri/Desktop/Main/Scripts/_Misc/Repros/Zig-Child.run/.zig-cache /Users/brianferri/.cache/zig --seed 0xa67cf8dc -Z9235edd05b12e303 -Doptimize=ReleaseFast run -- ls -a
Expected Behavior
I'd expect the Releases to work the same as Debug code
The text was updated successfully, but these errors were encountered:
Zig Version
0.13.0 (MacOS 15.0.1)
Steps to Reproduce and Observed Behavior
git clone https://github.com/brianferri/Zig-Child.run
zig build -Doptimize=Debug run -- ls -a
-> Exits normallyzig build -Doptimize=ReleaseSafe run -- ls -a
->thread xxx panic: reached unreachable code
zig build -Doptimize=ReleaseSmall run -- ls -a
-> Fails without apparent errorzig build -Doptimize=ReleaseFast run -- ls -a
-> Fails without apparent errorExpected Behavior
I'd expect the Releases to work the same as Debug code
The text was updated successfully, but these errors were encountered: