File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,3 @@ export LD_LIBRARY_PATH="$(pwd)/target/out:$(pwd)/build_sysroot/sysroot/lib/rustl
45
45
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
46
46
47
47
export CG_CLIF_DISPLAY_CG_TIME=1
48
- export CG_CLIF_INCR_CACHE_DISABLED=1
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
3
2
set -e
4
3
4
+ # Build cg_clif
5
5
if [[ " $1 " == " --release" ]]; then
6
6
export CHANNEL=' release'
7
7
CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
10
10
cargo rustc -- -Zrun_dsymutil=no
11
11
fi
12
12
13
+ # Config
13
14
source config.sh
15
+ export CG_CLIF_INCR_CACHE_DISABLED=1
14
16
17
+ # Cleanup
15
18
rm -r target/out || true
16
19
mkdir -p target/out/clif
17
20
21
+ # Perform all tests
18
22
echo " [BUILD] mini_core"
19
23
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib --target $TARGET_TRIPLE
20
24
You can’t perform that action at this time.
0 commit comments