Skip to content

Commit

Permalink
Don't add .d and .rmeta files to the sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Nov 8, 2020
1 parent 6210ee2 commit df45a06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_sysroot/build_sysroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ fi
# Copy files to sysroot
mkdir -p "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"
cp -a "target/$TARGET_TRIPLE/$sysroot_channel/deps/"* "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"
rm "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"*.{rmeta,d}

0 comments on commit df45a06

Please sign in to comment.