Skip to content

Commit

Permalink
Fix clang-13 linking
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Oct 25, 2021
1 parent 973c024 commit 6296583
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,10 @@ jobs:
export RUSTDOCFLAGS="\$RUSTFLAGS"
unset RUSTC_FORCE_INCREMENTAL
# C build configuration.
export CC=clang-13 # Compile c source files with clang.
export CFLAGS=-flto=thin # Tell clang to produce llvm bitcode.
# Compile c source files with clang.
export CC=clang-13
# Tell clang to use lld and produce llvm bitcode.
export CFLAGS="-fuse-ld=lld -flto=thin"
# Miscellaneous flags.
export CARGO_TERM_COLOR=always
Expand Down

0 comments on commit 6296583

Please sign in to comment.