Skip to content

Commit f31217b

Browse files
committed
fixup
1 parent 80f5bd7 commit f31217b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ci/run.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ fi
4545

4646

4747
## REMOVE
48+
build_intrinsics_test() {
49+
cargo build --target "$target" -v --package builtins-test-intrinsics "$@"
50+
}
51+
52+
# Verify that we haven't dropped any intrinsics/symbols
53+
build_intrinsics_test
54+
build_intrinsics_test --release
55+
build_intrinsics_test --features c
56+
build_intrinsics_test --features c --release
57+
58+
# Verify that there are no undefined symbols to `panic` within our
59+
# implementations
60+
CARGO_PROFILE_DEV_LTO=true \
61+
cargo build --target "$target" --package builtins-test-intrinsics
62+
CARGO_PROFILE_RELEASE_LTO=true \
63+
cargo build --target "$target" --package builtins-test-intrinsics --release
64+
65+
for_each_rlib nm -A
66+
4867
declare -a rlib_paths
4968

5069
# Set the `rlib_paths` global array to a list of all compiler-builtins rlibs

0 commit comments

Comments
 (0)