File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ def rust_target(d, spec_type):
6
6
import re
7
7
spec_type = spec_type . upper ()
8
8
9
- arch = d . getVar ('%s_ARCH' % spec_type , True )
10
- os = d . getVar ('%s_OS' % spec_type , True )
9
+ arch = d . getVar ('%s_ARCH' % spec_type , True ). lower ()
10
+ os = d . getVar ('%s_OS' % spec_type , True ). lower ()
11
11
12
12
# Make sure that tasks properly recalculate after ARCH or OS change
13
13
d . appendVarFlag ("rust_target" , "vardeps" , " %s_ARCH" % spec_type )
@@ -36,8 +36,8 @@ def rust_target(d, spec_type):
36
36
37
37
# TUNE_FEATURES are always only for the TARGET
38
38
if spec_type == "TARGET" :
39
- tune = d . getVar ("TUNE_FEATURES" , True ). split ()
40
- tune += d . getVar ("MACHINEOVERRIDES" , True ). split (":" )
39
+ tune = d . getVar ("TUNE_FEATURES" , True ). lower () . split ()
40
+ tune += d . getVar ("MACHINEOVERRIDES" , True ). lower () . split (":" )
41
41
else :
42
42
tune = []
43
43
You can’t perform that action at this time.
0 commit comments