diff --git a/rustc-1.56.1-0.build.sh b/rustc-1.56.1-0.build.sh index 4743359..0a6cf03 100755 --- a/rustc-1.56.1-0.build.sh +++ b/rustc-1.56.1-0.build.sh @@ -50,9 +50,9 @@ targets = "X86" experimental-targets = "" [build] -cargo = "/usr/local/package/bin/cargo" -rustc = "/usr/local/package/bin/rustc" -rustfmt = "/usr/local/package/bin/rustfmt" +cargo = "/pkg/rustc-1.52.1-0/bin/cargo" +rustc = "/pkg/rustc-1.52.1-0/bin/rustc" +rustfmt = "/pkg/rustc-1.52.1-0/bin/rustfmt" # omit HTML docs to save time and space (comment this to build them) docs = false @@ -81,7 +81,7 @@ backtrace-on-ice = false EOF -export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && +export PATH=/pkg/rustc-1.52.1-0/bin:$PATH LD_LIBRARY_PATH=/pkg/rustc-1.52.1-0/lib:$LD_LIBRARY_PATH RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && python3 ./x.py build --exclude src/tools/miri python3 ./x.py install