mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
!18 [build] only copy backtrace and stdarch directory at static source library directory
Merge pull request !18 from wuhuiquan/ohos_config
This commit is contained in:
@@ -73,7 +73,9 @@ move_static_rust_source() {
|
||||
pushd ${1}
|
||||
tar xf rustc-1.72.0-src.tar.gz
|
||||
pushd ${1}/rustc-1.72.0-src
|
||||
cp -r {.cargo,vendor,library} ${2}
|
||||
cp -r {.cargo,vendor} ${2}
|
||||
cp -r library/backtrace/* ${2}/library/backtrace/
|
||||
cp -r library/stdarch/* ${2}/library/stdarch/
|
||||
cp -r src/doc/* ${2}/src/doc/
|
||||
cp -r src/tools/cargo/* ${2}/src/tools/cargo/
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user