aa53f3f77f
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. |
||
---|---|---|
.. | ||
fail | ||
panic | ||
pass | ||
compiletest.rs |