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
I had an impl that I was exporting from the root of a crate, and whenever I linked against this crate I ran into an ICE somewhere in resolve. Sorry, no test case.
The text was updated successfully, but these errors were encountered:
fix RUSTC_BACKTRACE always being set
I kept wondering why Miri programs, whenever isolation is disabled, behave as if RUSTC_BACKTRACE was set. Finally I realized it's because some early rustc setup code sets that env var, and that is then propagated to the interpreted program.
So fix that by taking a copy of the environment before any rustc setup, and use that copy as the basis for what is provided to the interpreted program.
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
I had an impl that I was exporting from the root of a crate, and whenever I linked against this crate I ran into an ICE somewhere in resolve. Sorry, no test case.
The text was updated successfully, but these errors were encountered: