Skip to content

Commit a7fdf9e

Browse files
powerboat9CohenArthur
authored andcommitted
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 <powerboat9.gamer@gmail.com>
1 parent a0fbf1f commit a7fdf9e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ static const BuiltinAttrDefinition __definitions[]
125125
{Attrs::NON_EXHAUSTIVE, TYPE_CHECK},
126126
{Attrs::RUSTFMT, EXTERNAL},
127127

128-
{Attrs::TEST, CODE_GENERATION},
129-
{Attrs::SIMD_TEST, CODE_GENERATION}};
128+
{Attrs::TEST, CODE_GENERATION}};
130129

131130
BuiltinAttributeMappings *
132131
BuiltinAttributeMappings::get ()

0 commit comments

Comments
 (0)