In this context:
#[link_name = "foo"]
pub static mut FOO: i32 = 4;
what does link_name do? Chances are that the user actually meant to export FOO and that
#[export_name = "foo"]
pub static mut FOO: i32 = 4;
was intended instead.
Should we warn/error about this?
cc @alexcrichton
In this context:
what does
link_namedo? Chances are that the user actually meant to exportFOOand thatwas intended instead.
Should we warn/error about this?
cc @alexcrichton