mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 21:47:04 +00:00
Add "--emit=link"
This avoids a strange linker error that we get with only "--emit=mir" and "check-pass"
This commit is contained in:
parent
7df8ca2954
commit
6a0bb1867b
@ -1,5 +1,5 @@
|
||||
// check-pass
|
||||
// compile-flags: --emit=mir
|
||||
// compile-flags: --emit=mir,link
|
||||
// Force mir to be emitted, to ensure that const
|
||||
// propagation doesn't ICE on a function
|
||||
// with an 'impossible' body. See issue #67696
|
||||
|
Loading…
Reference in New Issue
Block a user