Skip to content

Commit 617e134

Browse files
committed
Revert change
1 parent 7379c48 commit 617e134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ "$1" == "--release" ]]; then
77
cargo build --release $CG_CLIF_COMPILE_FLAGS
88
else
99
export CHANNEL='debug'
10-
cargo build $CG_CLIF_COMPILE_FLAGS
10+
cargo rustc $CG_CLIF_COMPILE_FLAGS --features backend_object -- -Clink-args=-fuse-ld=lld
1111
fi
1212

1313
source config.sh
@@ -26,7 +26,7 @@ rm -r target/out || true
2626
mkdir -p target/out/clif
2727

2828
echo "[BUILD] mini_core"
29-
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib --target x86_64-unknown-linux-gnu
29+
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib
3030

3131
echo "[BUILD] example"
3232
$RUSTC example/example.rs --crate-type lib

0 commit comments

Comments
 (0)