File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 152152
153153doc/rust.g : rust.md $(S ) src/etc/extract_grammar.py
154154 @$(call E, extract_grammar: $@ )
155- $(Q )$(S ) src/etc/extract_grammar.py $< > $@
155+ $(Q )$(CFG_PYTHON ) $( S ) src/etc/extract_grammar.py $< > $@
156156
157157verify-grammar : doc/rust.g
158158 @$(call E, LLnextgen: $< )
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ define DEF_SNAP_FOR_STAGE_H
1414
1515ifdef CFG_INSTALL_SNAP
1616snap-stage$(1 ) -H-$(2 ) : $$(HSREQ$(1 ) _H_$(2 ) )
17- $(S ) src/etc/make-snapshot.py stage$(1 ) $(2 ) install
17+ $(CFG_PYTHON ) $( S ) src/etc/make-snapshot.py stage$(1 ) $(2 ) install
1818else
1919snap-stage$(1 ) -H-$(2 ) : $$(HSREQ$(1 ) _H_$(2 ) )
20- $(S ) src/etc/make-snapshot.py stage$(1 ) $(2 )
20+ $(CFG_PYTHON ) $( S ) src/etc/make-snapshot.py stage$(1 ) $(2 )
2121endif
2222
2323endef
@@ -30,4 +30,4 @@ snap-stage1: snap-stage1-H-$(CFG_HOST_TRIPLE)
3030
3131snap-stage2 : snap-stage2-H-$(CFG_HOST_TRIPLE )
3232
33- snap-stage3 : snap-stage3-H-$(CFG_HOST_TRIPLE )
33+ snap-stage3 : snap-stage3-H-$(CFG_HOST_TRIPLE )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $(HBIN0_H_$(CFG_HOST_TRIPLE))/rustc$(X): \
1111ifdef CFG_ENABLE_LOCAL_RUST
1212 $(Q)$(S)src/etc/local_stage0.sh $(CFG_HOST_TRIPLE) $(CFG_LOCAL_RUST_ROOT)
1313else
14- $(Q)$(S)src/etc/get-snapshot.py $(CFG_HOST_TRIPLE) $(SNAPSHOT_FILE)
14+ $(Q)$(CFG_PYTHON) $( S)src/etc/get-snapshot.py $(CFG_HOST_TRIPLE) $(SNAPSHOT_FILE)
1515ifdef CFG_ENABLE_PAX_FLAGS
1616 @$(call E, apply PaX flags: $@)
1717 @"$(CFG_PAXCTL)" -cm "$@"
Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ tmp/$(FT).rc tmp/$(FT_DRIVER).rs: \
701701 $(RPASS_TESTS ) \
702702 $(S ) src/etc/combine-tests.py
703703 @$(call E, check: building combined stage2 test runner)
704- $(Q )$(S ) src/etc/combine-tests.py
704+ $(Q )$(CFG_PYTHON ) $( S ) src/etc/combine-tests.py
705705
706706define DEF_CHECK_FAST_FOR_T_H
707707# $(1) unused
Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/env python
22
33#
44# this script attempts to turn doc comment attributes (#[doc = "..."])
You can’t perform that action at this time.
0 commit comments