diff options
| author | Manuel Drehwald <git@manuel.drehwald.info> | 2024-10-11 19:13:31 +0200 |
|---|---|---|
| committer | Manuel Drehwald <git@manuel.drehwald.info> | 2024-10-11 19:13:31 +0200 |
| commit | 624c071b997f3bab0ef086af24f59ebc95f37c59 (patch) | |
| tree | 44091cd44e62db9aa4d0f0b6053de7b84769a5cb /compiler/rustc_feature/src | |
| parent | 52fd9983996d9fcfb719749838336be66dee68f9 (diff) | |
| download | rust-624c071b997f3bab0ef086af24f59ebc95f37c59.tar.gz rust-624c071b997f3bab0ef086af24f59ebc95f37c59.zip | |
Single commit implementing the enzyme/autodiff frontend
Co-authored-by: Lorenz Schmidt <bytesnake@mailbox.org>
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 17827b4e43b..477760a4597 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -752,6 +752,11 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ template!(NameValueStr: "transparent|semitransparent|opaque"), ErrorFollowing, EncodeCrossCrate::Yes, "used internally for testing macro hygiene", ), + rustc_attr!( + rustc_autodiff, Normal, + template!(Word, List: r#""...""#), DuplicatesOk, + EncodeCrossCrate::No, INTERNAL_UNSTABLE + ), // ========================================================================== // Internal attributes, Diagnostics related: |
