We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
link_name
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
FOO
#[export_name = "foo"] pub static mut FOO: i32 = 4;
was intended instead.
Should we warn/error about this?
cc @alexcrichton