Skip to content

Commit

Permalink
Rollup merge of rust-lang#97280 - yue4u:quote-replace-target-in-boots…
Browse files Browse the repository at this point in the history
…trap-configure, r=Mark-Simulacrum

Quote replace target in bootstrap configure

close rust-lang#97263
  • Loading branch information
jackh726 authored May 22, 2022
2 parents b4c17d4 + 1532fd8 commit b392cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def set(key, value):
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):
Expand Down

0 comments on commit b392cdf

Please sign in to comment.