diff options
| author | Jakub Bukaj <jakub@jakub.cc> | 2014-11-18 00:23:50 +0100 |
|---|---|---|
| committer | Jakub Bukaj <jakub@jakub.cc> | 2014-11-18 00:23:50 +0100 |
| commit | fcf9fb61574a415653fa0c787058972312ce1235 (patch) | |
| tree | b1118890b3dbea75a886d0dc14abd4ba5e7b2ed0 /src/librustc/lint | |
| parent | f09279395b6ca40f1398277971586197f949738a (diff) | |
| parent | 33893aebcf19f6bf7e0102406117afa34a955425 (diff) | |
| download | rust-fcf9fb61574a415653fa0c787058972312ce1235.tar.gz rust-fcf9fb61574a415653fa0c787058972312ce1235.zip | |
rollup merge of #18890: luqmana/tf
This is especially useful for declaring a static with external linkage in an executable. There isn't any way to do that currently since we mark everything in an executable as internal by default. Also, a quick fix to have the no-compiler-rt target option respected when building staticlibs as well.
Diffstat (limited to 'src/librustc/lint')
| -rw-r--r-- | src/librustc/lint/builtin.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 4247d192d6d..df014eb1206 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -623,6 +623,7 @@ impl LintPass for UnusedAttributes { "link", "link_name", "link_section", + "linkage", "no_builtins", "no_mangle", "no_split_stack", |
