mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
Fix FFI guide
This commit is contained in:
@@ -263,6 +263,7 @@ Rust code:
|
||||
|
||||
~~~~no_run
|
||||
|
||||
#[repr(C)]
|
||||
struct RustObject {
|
||||
a: i32,
|
||||
// other members
|
||||
|
||||
Reference in New Issue
Block a user