diff --git a/rust_build.sh b/rust_build.sh index 940ae09e5550d33c99a2323a72f5d3edd205859c..877481826fb37954d553d9015146c959afd3265b 100644 --- a/rust_build.sh +++ b/rust_build.sh @@ -90,11 +90,12 @@ pushd $CURRENT_DIR > /dev/null cp -rf tmp_rust/library/backtrace/* library/backtrace/ echo "stage2 build start ..." - python3 x.py vendor + python3 x.py build --stage 2 echo "stage2 build end" - + echo "stage2 build start ..." - python3 x.py build --stage 2 + mkdir -p vendor + python3 x.py vendor echo "stage2 build end" # libprofiler_builtins-xx.rlib build