diff --git a/rust/build_rust.sh b/rust/build_rust.sh index e50f930..f96abf8 100755 --- a/rust/build_rust.sh +++ b/rust/build_rust.sh @@ -21,7 +21,7 @@ cd "rustc-$version_rustc-src" --llvm-root="$PWD/../install-llvm-$version_llvm" \ --enable-vendor -case "$version_rustc" +case "$version_rustc" in 1.3[0-9].*|1.4[0-6].*) paths='src/libstd src/librustc cargo' ;; 1.47.*|*)