mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
8 lines
210 B
Rust
8 lines
210 B
Rust
#![allow(clippy::no_effect)]
|
|
|
|
extern "C" {
|
|
// N.B., mutability can be easily incorrect in FFI calls -- as
|
|
// in C, the default is mutable pointers.
|
|
fn ffi(c: *mut u8);
|
|
fn int_ffi(c: *mut i32);
|
|
} |