File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ if [ "$NM" = "" ]; then
42
42
fi
43
43
44
44
if [ -d /target ]; then
45
- path=/target/${1} /debug /deps/libcompiler_builtins-* .rlib
45
+ path=/target/${1} /release /deps/libcompiler_builtins-* .rlib
46
46
else
47
- path=target/${1} /debug /deps/libcompiler_builtins-* .rlib
47
+ path=target/${1} /release /deps/libcompiler_builtins-* .rlib
48
48
fi
49
49
50
50
# Look out for duplicated symbols when we include the compiler-rt (C) implementation
98
98
CARGO_PROFILE_RELEASE_LTO=true \
99
99
$cargo rustc --features " $INTRINSICS_FEATURES " --target $1 --example intrinsics --release
100
100
101
- # Ensure no references to a panicking function
101
+ # Ensure no references to any functions from core
102
102
for rlib in $( echo $path ) ; do
103
103
set +ex
104
+ # FIXME: In fact, we want to check core.
104
105
$NM -u $rlib 2>&1 | grep panicking
105
106
106
107
if test $? = 0; then
You can’t perform that action at this time.
0 commit comments