We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustc errors out when compiling a ".rc" file if use std comes before the #link(...):
use std
#link(...)
test:rc
use std; #[link(name="test", vers="0.1")]; mod test;
test.rs:
fn main() {}
Errors with:
test.rc:3:32: 3:33 error: expecting mod, found ; test.rc:3 #[link(name="test", vers="0.1")];