Fix broken test
This commit is contained in:
@@ -14,6 +14,4 @@ extern Foo FOO;
|
|||||||
|
|
||||||
extern const int32_t NUMBER;
|
extern const int32_t NUMBER;
|
||||||
|
|
||||||
extern const char* STRING;
|
|
||||||
|
|
||||||
void root();
|
void root();
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ extern Foo FOO;
|
|||||||
|
|
||||||
extern const int32_t NUMBER;
|
extern const int32_t NUMBER;
|
||||||
|
|
||||||
extern const char* STRING;
|
|
||||||
|
|
||||||
void root();
|
void root();
|
||||||
|
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub static NUMBER: i32 = 10;
|
pub static NUMBER: i32 = 10;
|
||||||
#[no_mangle]
|
|
||||||
pub static STRING: &'static libc::c_char = "hello world";
|
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
struct Foo {
|
struct Foo {
|
||||||
|
|||||||
Reference in New Issue
Block a user