forked from rust-lang/miri
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass
-Z no-codegen
when invoking rustc.
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).
- Loading branch information
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters