Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Jun 21, 2024
1 parent 1b8f998 commit bfc1a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/check-symbol-prefixes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ nm_exe="${llvm_root}/llvm-nm"
# Rust-compiler-generated symbols.
find target/$target -type f -name libring-*.rlib | while read -r infile; do
bad=$($nm_exe --defined-only --extern-only --print-file-name "$infile" \
| ( grep -v -E " . _?(__imp__ZN4ring|ring_core_|__rustc|_ZN|DW.ref.rust_eh_personality)" || [[ $? == 1 ]] ))
| ( grep -v -E " . _?(__imp__ZN4ring|__rustc|_ZN|DW.ref.rust_eh_personality)" || [[ $? == 1 ]] ))
if [ ! -z "${bad-}" ]; then
echo "$bad"
exit 1
Expand Down

0 comments on commit bfc1a22

Please sign in to comment.