File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const AARCH64_WHITELIST: &[(&str, Option<Symbol>)] = &[
129
129
] ;
130
130
131
131
const X86_WHITELIST : & [ ( & str , Option < Symbol > ) ] = & [
132
- ( "adx" , Some ( sym :: adx_target_feature ) ) ,
132
+ ( "adx" , None ) ,
133
133
( "aes" , None ) ,
134
134
( "avx" , None ) ,
135
135
( "avx2" , None ) ,
@@ -163,9 +163,9 @@ const X86_WHITELIST: &[(&str, Option<Symbol>)] = &[
163
163
( "sse3" , None ) ,
164
164
( "sse4.1" , None ) ,
165
165
( "sse4.2" , None ) ,
166
- ( "sse4a" , Some ( sym :: sse4a_target_feature ) ) ,
166
+ ( "sse4a" , None ) ,
167
167
( "ssse3" , None ) ,
168
- ( "tbm" , Some ( sym :: tbm_target_feature ) ) ,
168
+ ( "tbm" , None ) ,
169
169
( "xsave" , None ) ,
170
170
( "xsavec" , None ) ,
171
171
( "xsaveopt" , None ) ,
Original file line number Diff line number Diff line change @@ -2367,11 +2367,6 @@ fn from_target_feature(
2367
2367
Some ( sym:: movbe_target_feature) => rust_features. movbe_target_feature ,
2368
2368
Some ( sym:: rtm_target_feature) => rust_features. rtm_target_feature ,
2369
2369
Some ( sym:: f16c_target_feature) => rust_features. f16c_target_feature ,
2370
- // These are stable:
2371
- | Some ( sym:: sse4a_target_feature)
2372
- | Some ( sym:: tbm_target_feature)
2373
- | Some ( sym:: adx_target_feature)
2374
- => true ,
2375
2370
Some ( name) => bug ! ( "unknown target feature gate {}" , name) ,
2376
2371
None => true ,
2377
2372
} ;
You can’t perform that action at this time.
0 commit comments