2022-03-17 08:49:10 -05:00
|
|
|
error: unsupported operation: cannot write to stdin
|
|
|
|
--> $DIR/write_to_stdin.rs:LL:CC
|
|
|
|
|
|
|
|
|
LL | libc::write(0, bytes.as_ptr() as *const libc::c_void, 5);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot write to stdin
|
|
|
|
|
|
|
|
|
= help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
|
2022-07-02 09:11:39 -05:00
|
|
|
= note: backtrace:
|
2022-03-17 08:49:10 -05:00
|
|
|
= note: inside `main` at $DIR/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 previous error
|
|
|
|
|