about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail-dep/libc/fs/write_to_stdin.stderr
blob: 72f2c0e8662267ed838b61862451c4a7e4376b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unsupported operation: cannot write to stdin
  --> tests/fail-dep/libc/fs/write_to_stdin.rs:LL:CC
   |
LL |         libc::write(0, bytes.as_ptr() as *const libc::c_void, 5);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsupported operation occurred here
   |
   = help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
   = note: BACKTRACE:
   = note: inside `main` at tests/fail-dep/libc/fs/write_to_stdin.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