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
57
57
dir=$( pwd)
58
58
cd " $target_dir "
59
59
time " $dir /build_sysroot/build_sysroot.sh"
60
+ cp lib/rustlib/* /lib/libstd-* lib/
60
61
fi
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export CARGO_TARGET_DIR=target
25
25
26
26
# Build libs
27
27
export RUSTFLAGS=" $RUSTFLAGS -Zforce-unstable-if-unmarked -Cpanic=abort"
28
+ export __CARGO_DEFAULT_LIB_METADATA=" cg_clif"
28
29
if [[ " $1 " != " --debug" ]]; then
29
30
sysroot_channel=' release'
30
31
# 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
53
53
export RUSTFLAGS=" $RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
54
54
fi
55
55
56
- export LD_LIBRARY_PATH=" $( rustc --print sysroot) /lib"
56
+ export LD_LIBRARY_PATH=" $( rustc --print sysroot) /lib: " $dir " /lib "
57
57
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
58
58
You can’t perform that action at this time.
0 commit comments