summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/extern_static.stderr
blob: c3de4dadb0a304b8690daab2b3587c2fd97a081c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unsupported operation: `extern` static `FOO` from crate `extern_static` is not supported by Miri
  --> $DIR/extern_static.rs:LL:CC
   |
LL |     let _val = unsafe { std::ptr::addr_of!(FOO) };
   |                                            ^^^ `extern` static `FOO` from crate `extern_static` is not supported by Miri
   |
   = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
   = note: BACKTRACE:
   = note: inside `main` at $DIR/extern_static.rs:LL:CC

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to 1 previous error