We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d361efa commit c41ac2eCopy full SHA for c41ac2e
src/bootstrap/bootstrap.py
@@ -596,6 +596,7 @@ def update_submodules(self):
596
def bootstrap():
597
parser = argparse.ArgumentParser(description='Build rust')
598
parser.add_argument('--config')
599
+ parser.add_argument('--build')
600
parser.add_argument('--clean', action='store_true')
601
parser.add_argument('-v', '--verbose', action='store_true')
602
@@ -669,7 +670,7 @@ def bootstrap():
669
670
rb.update_submodules()
671
672
# Fetch/build the bootstrap
- rb.build = rb.build_triple()
673
+ rb.build = args.build or rb.build_triple()
674
rb.download_stage0()
675
sys.stdout.flush()
676
rb.build_bootstrap()
0 commit comments