15 lines
986 B
Plaintext
15 lines
986 B
Plaintext
error: unsupported operation: `extern` static `environ` from crate `extern_static_wrong_size` has been declared with a size of 1 bytes and alignment of 1 bytes, but Miri emulates it via an extern static shim with a size of N bytes and alignment of N bytes
|
|
--> $DIR/extern_static_wrong_size.rs:LL:CC
|
|
|
|
|
LL | let _val = unsafe { environ };
|
|
| ^^^^^^^ `extern` static `environ` from crate `extern_static_wrong_size` has been declared with a size of 1 bytes and alignment of 1 bytes, but Miri emulates it via an extern static shim with a size of N bytes and alignment of N bytes
|
|
|
|
|
= 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_wrong_size.rs:LL:CC
|
|
|
|
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
|
|
|
|
error: aborting due to previous error
|
|
|