File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -57,4 +57,5 @@ if [[ "$build_sysroot" == "1" ]]; then
5757 dir=$( pwd)
5858 cd " $target_dir "
5959 time " $dir /build_sysroot/build_sysroot.sh"
60+ cp lib/rustlib/* /lib/libstd-* lib/
6061fi
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export CARGO_TARGET_DIR=target
2525
2626# Build libs
2727export RUSTFLAGS=" $RUSTFLAGS -Zforce-unstable-if-unmarked -Cpanic=abort"
28+ export __CARGO_DEFAULT_LIB_METADATA=" cg_clif"
2829if [[ " $1 " != " --debug" ]]; then
2930 sysroot_channel=' release'
3031 # FIXME Enable incremental again once rust-lang/rust#74946 is fixed
Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ if [[ $(uname) == 'Darwin' ]]; then
5353 export RUSTFLAGS=" $RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
5454fi
5555
56- export LD_LIBRARY_PATH=" $( rustc --print sysroot) /lib"
56+ export LD_LIBRARY_PATH=" $( rustc --print sysroot) /lib: " $dir " /lib "
5757export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
5858
You can’t perform that action at this time.
0 commit comments