Skip to content

Commit 4c3a9cb

Browse files
authored
Merge pull request #574 from trevyn/issue-167
Remove duplicate symbol workaround
2 parents 206c608 + dc3b50e commit 4c3a9cb

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
- run: rustup component add llvm-tools-preview
9292
- name: Download compiler-rt reference sources
9393
run: |
94-
curl -L -o code.tar.gz https://github.com/rust-lang/llvm-project/archive/rustc/13.0-2021-08-08.tar.gz
95-
tar xzf code.tar.gz --strip-components 1 llvm-project-rustc-13.0-2021-08-08/compiler-rt
94+
curl -L -o code.tar.gz https://github.com/rust-lang/llvm-project/archive/rustc/18.0-2024-02-13.tar.gz
95+
tar xzf code.tar.gz --strip-components 1 llvm-project-rustc-18.0-2024-02-13/compiler-rt
9696
echo RUST_COMPILER_RT_ROOT=./compiler-rt >> $GITHUB_ENV
9797
shell: bash
9898

ci/run.sh

-5
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,11 @@ for rlib in $(echo $path); do
6363
stdout=$($NM -g --defined-only $rlib 2>&1)
6464
# NOTE On i586, It's normal that the get_pc_thunk symbol appears several
6565
# times so ignore it
66-
#
67-
# FIXME(#167) - we shouldn't ignore `__builtin_cl` style symbols here.
6866
set +e
6967
echo "$stdout" | \
7068
sort | \
7169
uniq -d | \
7270
grep -v __x86.get_pc_thunk | \
73-
grep -v __builtin_cl | \
74-
grep -v __builtin_ctz | \
75-
grep -v __builtin_sadd_overflow | \
7671
grep 'T __'
7772

7873
if test $? = 0; then

0 commit comments

Comments
 (0)