diff --git a/build.sh b/build.sh index 30d3bfa..56c6c0b 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,8 @@ cd rust ./configure \ --set llvm.download-ci-llvm=true \ - --set rust.download-rustc=true + --set rust.download-rustc=true \ + --set rust.llvm-bitcode-linker=false targets=(x86_64-unknown-linux-gnu x86_64-pc-windows-msvc aarch64-apple-darwin) @@ -18,6 +19,9 @@ targets=(x86_64-unknown-linux-gnu x86_64-pc-windows-msvc aarch64-apple-darwin) unset CI unset GITHUB_ACTIONS +# sanity checks make no sense for doc +export BOOTSTRAP_SKIP_TARGET_SANITY=1 + for target in "${targets[@]}"; do echo "Building $target"