summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorcynecx <me@cynecx.net>2021-11-22 13:14:54 +0100
committercynecx <me@cynecx.net>2022-02-06 20:23:23 +0100
commit03733ca65a09a9b54b2c2a674e4145b165bd1cab (patch)
tree0a8b39ca2a3a516049004c9023ad73ac8d7c50c7 /compiler/rustc_span/src
parentf624427f8771c00819684c783bb841bf72095704 (diff)
downloadrust-03733ca65a09a9b54b2c2a674e4145b165bd1cab.tar.gz
rust-03733ca65a09a9b54b2c2a674e4145b165bd1cab.zip
`#[used(linker)]` attribute (https://github.com/dtolnay/linkme/issues/41)
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 18627cd2c09..4a1fd476b8c 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -449,6 +449,7 @@ symbols! {
         compare_exchange_weak,
         compile_error,
         compile_error_macro,
+        compiler,
         compiler_builtins,
         compiler_fence,
         concat,
@@ -815,6 +816,7 @@ symbols! {
         link_ordinal,
         link_section,
         linkage,
+        linker,
         lint_reasons,
         literal,
         load,
@@ -1458,6 +1460,7 @@ symbols! {
         use_extern_macros,
         use_nested_groups,
         used,
+        used_with_arg,
         usize,
         v1,
         va_arg,