File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: common:: { CompareMode , Config , Debugger } ;
2
2
use std:: collections:: HashSet ;
3
3
4
- const EXTRA_ARCHS : & [ & str ] = & [ "asmjs" , " spirv"] ;
4
+ const EXTRA_ARCHS : & [ & str ] = & [ "spirv" ] ;
5
5
6
6
/// Parses a name-value directive which contains config-specific information, e.g., `ignore-x86`
7
7
/// or `normalize-stderr-32bit`.
@@ -133,6 +133,17 @@ pub(super) fn parse_cfg_name_directive<'a>(
133
133
message: "when the target is WASM"
134
134
}
135
135
136
+ condition ! {
137
+ name: "asmjs" ,
138
+ condition: config. target. starts_with( "asmjs" ) ,
139
+ message: "when the architecture is asm.js" ,
140
+ }
141
+ condition ! {
142
+ name: "thumb" ,
143
+ condition: config. target. starts_with( "thumb" ) ,
144
+ message: "when the architecture is part of the Thumb family"
145
+ }
146
+
136
147
condition ! {
137
148
name: & config. channel,
138
149
allowed_names: & [ "stable" , "beta" , "nightly" ] ,
You can’t perform that action at this time.
0 commit comments