File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ if [ "$NM" = "" ]; then
4242fi
4343
4444if [ -d /target ]; then
45- path=/target/${1} /debug /deps/libcompiler_builtins-* .rlib
45+ path=/target/${1} /release /deps/libcompiler_builtins-* .rlib
4646else
47- path=target/${1} /debug /deps/libcompiler_builtins-* .rlib
47+ path=target/${1} /release /deps/libcompiler_builtins-* .rlib
4848fi
4949
5050# Look out for duplicated symbols when we include the compiler-rt (C) implementation
9898CARGO_PROFILE_RELEASE_LTO=true \
9999 $cargo rustc --features " $INTRINSICS_FEATURES " --target $1 --example intrinsics --release
100100
101- # Ensure no references to a panicking function
101+ # Ensure no references to any functions from core
102102for rlib in $( echo $path ) ; do
103103 set +ex
104- $NM -u $rlib 2>&1 | grep panicking
104+ $NM -u $rlib 2>&1 | grep core
105105
106106 if test $? = 0; then
107107 exit 1
You can’t perform that action at this time.
0 commit comments