16 lines
220 B
Rust
16 lines
220 B
Rust
static NUMBER: i32 = 10;
|
|
static STRING: &'static libc::c_char = "hello world";
|
|
|
|
#[repr(C)]
|
|
struct Foo {
|
|
}
|
|
|
|
struct Bar {
|
|
}
|
|
|
|
static mut FOO: Foo = Foo { };
|
|
static BAR: Bar = Bar { };
|
|
|
|
#[no_mangle]
|
|
extern "C" fn root() { }
|