diff options
Diffstat (limited to 'gcc/rust/util/rust-attribute-values.h')
| -rw-r--r-- | gcc/rust/util/rust-attribute-values.h | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/rust/util/rust-attribute-values.h b/gcc/rust/util/rust-attribute-values.h index 367044a..a22664a 100644 --- a/gcc/rust/util/rust-attribute-values.h +++ b/gcc/rust/util/rust-attribute-values.h @@ -36,6 +36,7 @@ public:    static constexpr auto &DOC = "doc";    static constexpr auto &MUST_USE = "must_use";    static constexpr auto &LANG = "lang"; +  static constexpr auto &LINK_NAME = "link_name";    static constexpr auto &LINK_SECTION = "link_section";    static constexpr auto &NO_MANGLE = "no_mangle";    static constexpr auto &REPR = "repr"; @@ -48,6 +49,8 @@ public:    static constexpr auto &PROC_MACRO_DERIVE = "proc_macro_derive";    static constexpr auto &PROC_MACRO_ATTRIBUTE = "proc_macro_attribute"; +  static constexpr auto &DERIVE = "derive"; +    static constexpr auto &TARGET_FEATURE = "target_feature";    // From now on, these are reserved by the compiler and gated through    // #![feature(rustc_attrs)] @@ -60,6 +63,8 @@ public:    static constexpr auto &RUSTC_PROMOTABLE = "rustc_promotable";    static constexpr auto &RUSTC_CONST_STABLE = "rustc_const_stable";    static constexpr auto &RUSTC_CONST_UNSTABLE = "rustc_const_unstable"; +  static constexpr auto &RUSTC_ALLOW_CONST_FN_UNSTABLE +    = "rustc_allow_const_fn_unstable";    static constexpr auto &RUSTC_SPECIALIZATION_TRAIT      = "rustc_specialization_trait"; @@ -88,8 +93,6 @@ public:    static constexpr auto &TEST = "test"; -  static constexpr auto &SIMD_TEST = "simd_test"; -    static constexpr auto &RUSTC_ARGS_REQUIRED_CONST      = "rustc_args_required_const";  };  | 
