File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 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+
4867declare -a rlib_paths
4968
5069# Set the `rlib_paths` global array to a list of all compiler-builtins rlibs
You can’t perform that action at this time.
0 commit comments