99BOOTSTRAP := $(CFG_PYTHON ) $(CFG_SRC_DIR ) src/bootstrap/bootstrap.py
1010
1111all :
12- $(Q )$(BOOTSTRAP ) build $(BOOTSTRAP_ARGS )
13- $(Q )$(BOOTSTRAP ) doc $(BOOTSTRAP_ARGS )
12+ $(Q )$(BOOTSTRAP ) build --stage 2 $(BOOTSTRAP_ARGS )
13+ $(Q )$(BOOTSTRAP ) doc --stage 2 $(BOOTSTRAP_ARGS )
1414
1515help :
1616 $(Q ) echo ' Welcome to the rustbuild build system!'
@@ -31,17 +31,17 @@ rustc-stage2:
3131
3232docs : doc
3333doc :
34- $(Q )$(BOOTSTRAP ) doc $(BOOTSTRAP_ARGS )
34+ $(Q )$(BOOTSTRAP ) doc --stage 2 $(BOOTSTRAP_ARGS )
3535nomicon :
36- $(Q )$(BOOTSTRAP ) doc src/doc/nomicon $(BOOTSTRAP_ARGS )
36+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc/nomicon $(BOOTSTRAP_ARGS )
3737book :
38- $(Q )$(BOOTSTRAP ) doc src/doc/book $(BOOTSTRAP_ARGS )
38+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc/book $(BOOTSTRAP_ARGS )
3939standalone-docs :
40- $(Q )$(BOOTSTRAP ) doc src/doc $(BOOTSTRAP_ARGS )
40+ $(Q )$(BOOTSTRAP ) doc --stage 2 src/doc $(BOOTSTRAP_ARGS )
4141check :
42- $(Q )$(BOOTSTRAP ) test $(BOOTSTRAP_ARGS )
42+ $(Q )$(BOOTSTRAP ) test --stage 2 $(BOOTSTRAP_ARGS )
4343check-aux :
44- $(Q )$(BOOTSTRAP ) test \
44+ $(Q )$(BOOTSTRAP ) test --stage 2 \
4545 src/tools/cargo \
4646 src/tools/cargotest \
4747 $(BOOTSTRAP_ARGS )
@@ -51,37 +51,37 @@ dist:
5151 $(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
5252distcheck :
5353 $(Q )$(BOOTSTRAP ) dist $(BOOTSTRAP_ARGS )
54- $(Q )$(BOOTSTRAP ) test distcheck $(BOOTSTRAP_ARGS )
54+ $(Q )$(BOOTSTRAP ) test --stage 2 distcheck $(BOOTSTRAP_ARGS )
5555install :
5656 $(Q )$(BOOTSTRAP ) install $(BOOTSTRAP_ARGS )
5757tidy :
58- $(Q )$(BOOTSTRAP ) test src/tools/tidy $(BOOTSTRAP_ARGS )
58+ $(Q )$(BOOTSTRAP ) test --stage 2 src/tools/tidy $(BOOTSTRAP_ARGS )
5959prepare :
60- $(Q )$(BOOTSTRAP ) build nonexistent/path/to/trigger/cargo/metadata
60+ $(Q )$(BOOTSTRAP ) build --stage 2 nonexistent/path/to/trigger/cargo/metadata
6161
6262check-stage2-T-arm-linux-androideabi-H-x86_64-unknown-linux-gnu :
63- $(Q )$(BOOTSTRAP ) test --target arm-linux-androideabi
63+ $(Q )$(BOOTSTRAP ) test --stage 2 -- target arm-linux-androideabi
6464check-stage2-T-x86_64-unknown-linux-musl-H-x86_64-unknown-linux-gnu :
65- $(Q )$(BOOTSTRAP ) test --target x86_64-unknown-linux-musl
65+ $(Q )$(BOOTSTRAP ) test --stage 2 -- target x86_64-unknown-linux-musl
6666
6767TESTS_IN_2 := \
6868 src/test/ui \
6969 src/test/compile-fail \
7070 src/tools/linkchecker
7171
7272ci-subset-1 :
73- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_2:%=--exclude % )
73+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_2:%=--exclude % )
7474ci-subset-2 :
75- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_2 )
75+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_2 )
7676
7777TESTS_IN_MINGW_2 := \
7878 src/test/ui \
7979 src/test/compile-fail
8080
8181ci-mingw-subset-1 :
82- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_MINGW_2:%=--exclude % )
82+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_MINGW_2:%=--exclude % )
8383ci-mingw-subset-2 :
84- $(Q )$(BOOTSTRAP ) test $(TESTS_IN_MINGW_2 )
84+ $(Q )$(BOOTSTRAP ) test --stage 2 $(TESTS_IN_MINGW_2 )
8585
8686
8787.PHONY : dist
0 commit comments