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
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
(None, format!("pass the flag `-Zmiri-disable-isolation` to disable isolation;")),
229
231
(None, format!("or pass `-Zmiri-isolation-error=warn` to configure Miri to return an error code from isolated operations (if supported for that operation) and continue with a warning")),
230
232
],
233
+
UnsupportedForeignItem(_) => {
234
+
vec![
235
+
(None, format!("if this is a basic API commonly used on this target, please report an issue with Miri")),
236
+
(None, format!("however, note that Miri does not aim to support every FFI function out there; for instance, we will not support APIs for things such as GUIs, scripting languages, or databases")),
(None, format!("this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support")),
325
-
(None, format!("if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there")),
326
333
],
327
334
UndefinedBehavior(AlignmentCheckFailed{ .. })
328
335
if ecx.machine.check_alignment == AlignmentCheck::Symbolic
Copy file name to clipboardExpand all lines: src/tools/miri/tests/extern-so/fail/function_not_in_so.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ error: unsupported operation: can't call foreign function `foo` on $OS
4
4
LL | foo();
5
5
| ^^^^^ can't call foreign function `foo` on $OS
6
6
|
7
-
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
7
+
= help: if this is a basic API commonly used on this target, please report an issue with Miri
8
+
= help: however, note that Miri does not aim to support every FFI function out there; for instance, we will not support APIs for things such as GUIs, scripting languages, or databases
9
9
= note: BACKTRACE:
10
10
= note: inside `main` at $DIR/function_not_in_so.rs:LL:CC
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail-dep/shims/fs/close_stdout.stderr
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ LL | libc::close(1);
5
5
| ^^^^^^^^^^^^^^ cannot close stdout
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
9
8
= note: BACKTRACE:
10
9
= note: inside `main` at $DIR/close_stdout.rs:LL:CC
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot read from stdout
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
9
8
= note: BACKTRACE:
10
9
= note: inside `main` at $DIR/read_from_stdout.rs:LL:CC
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot write to stdin
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
9
8
= note: BACKTRACE:
10
9
= note: inside `main` at $DIR/write_to_stdin.rs:LL:CC
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail-dep/tokio/sleep.stderr
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ LL | | ))
10
10
| |__________^ returning ready events from epoll_wait is not yet implemented
11
11
|
12
12
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
13
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail-dep/unsupported_incomplete_function.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ error: unsupported operation: can't call foreign function `signal` on $OS
4
4
LL | libc::signal(libc::SIGPIPE, libc::SIG_IGN);
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't call foreign function `signal` on $OS
6
6
|
7
-
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
-
= help: if this is a basic API commonly used on this target, please report an issue; but note that Miri does not aim to support every FFI function out there
7
+
= help: if this is a basic API commonly used on this target, please report an issue with Miri
8
+
= help: however, note that Miri does not aim to support every FFI function out there; for instance, we will not support APIs for things such as GUIs, scripting languages, or databases
9
9
= note: BACKTRACE:
10
10
= note: inside `main` at $DIR/unsupported_incomplete_function.rs:LL:CC
0 commit comments