diff --git a/rust_build.sh b/rust_build.sh index 4233845d5608838bd23727d70fb1e38c1065b97b..1df17493544f18f80ec95c865fec40e23959100e 100644 --- a/rust_build.sh +++ b/rust_build.sh @@ -24,7 +24,7 @@ pushd $CURRENT_DIR > /dev/null 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-merge-asan - tar -zxf third_party_llvm-project/llvmorg-19.1.7.tar.gz -C src/llvm-project/ + tar -zxvf third_party_llvm-project/llvmorg-19.1.7.tar.gz && mv llvm-project-llvmorg-19.1.7/* 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