diff --git a/rust_build.sh b/rust_build.sh index a842387463aa92a854d94c306614b4310f0ca60a..4233845d5608838bd23727d70fb1e38c1065b97b 100644 --- a/rust_build.sh +++ b/rust_build.sh @@ -23,7 +23,8 @@ pushd $CURRENT_DIR > /dev/null wget https://repo.huaweicloud.com/harmonyos/compiler/rust/1.84.0/cargo-1.84.0-x86_64-unknown-linux-gnu.tar.xz wget https://repo.huaweicloud.com/harmonyos/compiler/rust/1.84.0/rustc-1.84.0-x86_64-unknown-linux-gnu.tar.xz popd > /dev/null - git clone https://gitee.com/openharmony/third_party_llvm-project.git -b llvm-19.1.7 src/llvm-project/ + git clone https://gitee.com/openharmony/third_party_llvm-project.git -b llvm-19-merge-asan + tar -zxf third_party_llvm-project/llvmorg-19.1.7.tar.gz -C src/llvm-project/ rm -rf src/llvm-project/.git # 获取rust_src包 wget https://repo.huaweicloud.com/harmonyos/compiler/rust/1.85.0/rust_src_1.85.0.tar.gz