]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/configure.py
Rollup merge of #97457 - JohnTitor:issue-81899, r=compiler-errors
[rust.git] / src / bootstrap / configure.py
index 87a130a09827dfbf2c988b8aa53a41983337e369..2fc036082cba6991617941887a4991e7e90a4f66 100755 (executable)
@@ -407,7 +407,7 @@ if 'target' in config:
         configured_targets.append(target)
 for target in configured_targets:
     targets[target] = sections['target'][:]
-    targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", target)
+    targets[target][0] = targets[target][0].replace("x86_64-unknown-linux-gnu", "'{}'".format(target))
 
 
 def is_number(value):