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
When a panic=unwind program panics in regular rustc, it has exit code 101. When it panics in Miri, it has exit code 0. That seems wrong, the exit code shouldn't indicate success.
@Aaron1011 why idea where the disparity might come from?
The text was updated successfully, but these errors were encountered:
Propagate the return code from the `start` lang item
Fixes#1064
This ensures that we set the error code properly when a panic unwinds
past `main`.
I'm not sure what the best way to write a test for this is
When a
panic=unwind
program panics in regularrustc
, it has exit code 101. When it panics in Miri, it has exit code 0. That seems wrong, the exit code shouldn't indicate success.@Aaron1011 why idea where the disparity might come from?
The text was updated successfully, but these errors were encountered: