Commit c6d3179
committed
Pass
We only need crate metadata and MIR, not the built object files, so this
allows us to skip unecessary work when building `libstd`. It also
prevents us from trying to codegen the `try` panicking intrinsic, which
assumes that `libpanic_unwind` is being compiled for the target
platform. We built `libpanic_unwind` with `cfg(miri)`, which may
invalidate these assumptions (e.g. the `eh_catch_typeinfo` lang item is
no longer defined).-Z no-codegen when invoking rustc.1 parent 7bb3052 commit c6d3179
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
0 commit comments