File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ rustc-std-workspace-std = { path = "./sysroot_src/src/tools/rustc-std-workspace-
21
21
22
22
[profile .release ]
23
23
debug = true
24
+ incremental = true
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rm -r sysroot/ 2>/dev/null || true
18
18
export RUSTFLAGS=" $RUSTFLAGS -Z force-unstable-if-unmarked"
19
19
if [[ " $1 " == " --release" ]]; then
20
20
sysroot_channel=' release'
21
- RUSTFLAGS=" $RUSTFLAGS -Zmir-opt-level=3 " cargo build --target $TARGET_TRIPLE --release
21
+ RUSTFLAGS=" $RUSTFLAGS -Zmir-opt-level=2 " cargo build --target $TARGET_TRIPLE --release
22
22
else
23
23
sysroot_channel=' debug'
24
24
cargo build --target $TARGET_TRIPLE
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ $RUSTC example/arbitrary_self_types_pointers_and_wrappers.rs --crate-name arbitr
38
38
$RUN_WRAPPER ./target/out/arbitrary_self_types_pointers_and_wrappers
39
39
40
40
echo " [BUILD] sysroot"
41
- time ./build_sysroot/build_sysroot.sh
41
+ time ./build_sysroot/build_sysroot.sh --release
42
42
43
43
echo " [AOT] alloc_example"
44
44
$RUSTC example/alloc_example.rs --crate-type bin --target $TARGET_TRIPLE
@@ -71,10 +71,6 @@ $RUN_WRAPPER ./target/out/track-caller-attribute
71
71
echo " [BUILD] mod_bench"
72
72
$RUSTC example/mod_bench.rs --crate-type bin --target $TARGET_TRIPLE
73
73
74
- # FIXME linker gives multiple definitions error on Linux
75
- # echo "[BUILD] sysroot in release mode"
76
- # ./build_sysroot/build_sysroot.sh --release
77
-
78
74
pushd simple-raytracer
79
75
if [[ " $HOST_TRIPLE " = " $TARGET_TRIPLE " ]]; then
80
76
echo " [BENCH COMPILE] ebobby/simple-raytracer"
You can’t perform that action at this time.
0 commit comments