You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// `open` is variadic, the third argument is only present when the second argument has O_CREAT (or on linux O_TMPFILE, but miri doesn't support that) set
// `open` is variadic, the third argument is only present when the second argument has O_CREAT (or on linux O_TMPFILE, but miri doesn't support that) set
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/extern_static_wrong_size.rs
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,5 +6,5 @@ extern "C" {
6
6
}
7
7
8
8
fnmain(){
9
-
let _val = unsafe{ environ };//~ ERROR: /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 [48] bytes and alignment of [48] bytes/
9
+
let _val = unsafe{ environ };//~ ERROR: /with a size of 1 bytes and alignment of 1 bytes, but Miri emulates it via an extern static shim with a size of [48] bytes and alignment of [48] bytes/
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/extern_static_wrong_size.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
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
1
+
error: unsupported operation: extern static `environ` has been declared as `extern_static_wrong_size::environ` 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
2
2
--> $DIR/extern_static_wrong_size.rs:LL:CC
3
3
|
4
4
LL | let _val = unsafe { environ };
5
-
| ^^^^^^^ `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
5
+
| ^^^^^^^ extern static `environ` has been declared as `extern_static_wrong_size::environ` 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
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/issue-miri-3288-ice-symbolic-alignment-extern-static.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
error: unsupported operation: `extern` static `_dispatch_queue_attr_concurrent` from crate `issue_miri_3288_ice_symbolic_alignment_extern_static` is not supported by Miri
1
+
error: unsupported operation: extern static `_dispatch_queue_attr_concurrent` is not supported by Miri
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `extern` static `_dispatch_queue_attr_concurrent` from crate `issue_miri_3288_ice_symbolic_alignment_extern_static` is not supported by Miri
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^ extern static `_dispatch_queue_attr_concurrent` is not supported by Miri
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
0 commit comments