1
Fork 0

Merge commit '2e8386e9fb' into subtree-update_cg_gcc_2023-11-17

This commit is contained in:
Antoni Boucher 2023-11-19 13:42:13 -05:00
commit fa696af987
14 changed files with 104 additions and 41 deletions

View file

@ -28,3 +28,7 @@ fi
# Copy files to sysroot
mkdir -p sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
cp -r target/$TARGET_TRIPLE/$sysroot_channel/deps/* sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
# Copy the source files to the sysroot (Rust for Linux needs this).
source_dir=sysroot/lib/rustlib/src/rust
mkdir -p $source_dir
cp -r sysroot_src/library/ $source_dir