diff options
| author | bors <bors@rust-lang.org> | 2022-08-06 19:30:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-06 19:30:50 +0000 |
| commit | aa53f3f77fea74e5a99e700e24b620cb5ad8242a (patch) | |
| tree | 93a3dfe548c98e39f0b5eeed81c5dcdd7861f951 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | f0cd09814bac7aff3259ff543bef5397743cd572 (diff) | |
| parent | 141d5a6396d1763d2e753edd60d3e6311c13c4c9 (diff) | |
| download | rust-aa53f3f77fea74e5a99e700e24b620cb5ad8242a.tar.gz rust-aa53f3f77fea74e5a99e700e24b620cb5ad8242a.zip | |
Auto merge of #2472 - RalfJung:backtrace, r=RalfJung
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
