rustc: Don't allow empty link_name when nolink attribute is present

Closes #1326
This commit is contained in:
Brian Anderson
2012-01-11 19:27:08 -08:00
parent 09869cd056
commit 6e1f9ad1f1
6 changed files with 19 additions and 13 deletions

View File

@@ -24,7 +24,6 @@ export fsync_fd;
// FIXME Somehow merge stuff duplicated here and macosx_os.rs. Made difficult
// by https://github.com/graydon/rust/issues#issue/268
#[link_name = ""] // FIXME remove after #[nolink] is snapshotted
#[nolink]
#[abi = "cdecl"]
native mod libc {