diff --git a/build-1.74.0.sh b/build-1.74.0.sh index 7ae5c3004..1bb3734dd 100755 --- a/build-1.74.0.sh +++ b/build-1.74.0.sh @@ -7,7 +7,7 @@ make -f minicargo.mk LIBS $@ make test $@ make local_tests $@ ## Build just rustc-driver BEFORE building llvm -#RUSTC_INSTALL_BINDIR=bin make -f minicargo.mk output-1.74.0/rustc-build/librustc_driver.rlib +RUSTC_INSTALL_BINDIR=bin make -f minicargo.mk output-1.74.0/rustc-build/librustc_driver.rlib #RUSTC_INSTALL_BINDIR=bin make -f minicargo.mk output-1.74.0/rustc $@ #./output-1.74.0/rustc --version diff --git a/minicargo.mk b/minicargo.mk index 9b94ecadb..13317717e 100644 --- a/minicargo.mk +++ b/minicargo.mk @@ -127,6 +127,10 @@ ifeq ($(RUSTC_VERSION),1.54.0) SRCDIR_RUSTC := compiler/rustc SRCDIR_RUSTC_DRIVER := compiler/rustc_driver endif +ifeq ($(RUSTC_VERSION),1.74.0) + SRCDIR_RUSTC := compiler/rustc + SRCDIR_RUSTC_DRIVER := compiler/rustc_driver +endif SRCDIR_RUST_TESTS := $(RUSTCSRC)src/test/ ifeq ($(RUSTC_VERSION),1.74.0)