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):
66 import re
77 spec_type = spec_type . upper ()
88
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 ()
1111
1212 # Make sure that tasks properly recalculate after ARCH or OS change
1313 d . appendVarFlag ("rust_target" , "vardeps" , " %s_ARCH" % spec_type )
@@ -36,8 +36,8 @@ def rust_target(d, spec_type):
3636
3737 # TUNE_FEATURES are always only for the TARGET
3838 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 (":" )
4141 else :
4242 tune = []
4343
You can’t perform that action at this time.
0 commit comments