generate bindings for non-public extern items
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
acb1b8d89e
commit
5f235ec199
@@ -0,0 +1,13 @@
|
||||
#[no_mangle]
|
||||
static FIRST: u32 = 10;
|
||||
|
||||
#[export_name = "RENAMED"]
|
||||
static SECOND: u32 = 42;
|
||||
|
||||
#[no_mangle]
|
||||
extern "C" fn first()
|
||||
{ }
|
||||
|
||||
#[export_name = "renamed"]
|
||||
extern fn second()
|
||||
{ }
|
||||
Reference in New Issue
Block a user