Skip to content

Commit 3730980

Browse files
committed
Remove #[simd_test] support
This attribute is a procedural macro defined by the crate simd-test-macro, not a built-in macro. gcc/rust/ChangeLog: * util/rust-attribute-values.h (Attributes::SIMD_TEST): Remove static constexpr member variable. * util/rust-attributes.cc (__definitions): Remove entry for SIMD_TEST. Signed-off-by: Owen Avery <[email protected]>
1 parent 5b7a0d7 commit 3730980

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

gcc/rust/util/rust-attribute-values.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ class Attributes
8888

8989
static constexpr auto &TEST = "test";
9090

91-
static constexpr auto &SIMD_TEST = "simd_test";
92-
9391
static constexpr auto &RUSTC_ARGS_REQUIRED_CONST
9492
= "rustc_args_required_const";
9593
};

gcc/rust/util/rust-attributes.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static const BuiltinAttrDefinition __definitions[]
126126
{Attrs::RUSTFMT, EXTERNAL},
127127

128128
{Attrs::TEST, CODE_GENERATION},
129-
{Attrs::SIMD_TEST, CODE_GENERATION}};
129+
};
130130

131131
BuiltinAttributeMappings *
132132
BuiltinAttributeMappings::get ()

0 commit comments

Comments
 (0)