We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd59fa1 commit 3377309Copy full SHA for 3377309
tests/ui/extern/extern-types-field-offset.rs
@@ -2,6 +2,9 @@
2
//@ check-run-results
3
//@ exec-env:RUST_BACKTRACE=0
4
//@ normalize-stderr-test: "(core/src/panicking\.rs):[0-9]+:[0-9]+" -> "$1:$$LINE:$$COL"
5
+//@ compile-flags: -Z mir-opt-level=0
6
+// (Don't optimize out the unused locals, so that we actually compute the offsets.)
7
+// FIXME: As part of fixing #127336, re-enable the normal mir-opts.
8
#![feature(extern_types)]
9
10
extern "C" {
0 commit comments