Skip to content

Commit df45a06

Browse files
committed
Don't add .d and .rmeta files to the sysroot
Fixes rust-lang#1106
1 parent 6210ee2 commit df45a06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_sysroot/build_sysroot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ fi
3737
# Copy files to sysroot
3838
mkdir -p "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"
3939
cp -a "target/$TARGET_TRIPLE/$sysroot_channel/deps/"* "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"
40+
rm "$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib/"*.{rmeta,d}

0 commit comments

Comments
 (0)