11 lines
238 B
Rust
11 lines
238 B
Rust
//@ignore-target-windows: No libc on Windows
|
|
//@ignore-target-apple: `syscall` is not supported on macOS
|
|
//@compile-flags: -Zmiri-panic-on-unsupported
|
|
#![feature(rustc_private)]
|
|
|
|
fn main() {
|
|
unsafe {
|
|
libc::syscall(0);
|
|
}
|
|
}
|