File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 4141 publish_pypi : true
4242 install_musl : true
4343 install_32_bit_tools : true
44- # https://github.com/briansmith/ring/blob/77f7d2045f19ab8bd1d9efa4c741d40c64518bcc/mk/cargo.sh#L124
44+ install_clang : true
4545 extra_cmd : |
46+ # https://github.com/briansmith/ring/blob/77f7d2045f19ab8bd1d9efa4c741d40c64518bcc/mk/cargo.sh#L124
4647 export CARGO_TARGET_I686_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"
48+ # https://github.com/briansmith/ring/blob/77f7d2045f19ab8bd1d9efa4c741d40c64518bcc/mk/cargo.sh#L288
49+ export CC_i686_unknown_linux_musl="clang-19"
50+ export AR=i686_unknown_linux_musl="llvm-ar-19"
4751 - name : linux-arm64-glibc
4852 os : ubuntu-24.04-arm
4953 target : aarch64-unknown-linux-gnu
@@ -108,6 +112,12 @@ jobs:
108112 sudo apt-get update
109113 sudo apt-get install -y --no-install-recommends --allow-unauthenticated \
110114 gcc-multilib g++-multilib libc6-dev-i386
115+ - name : Install Clang
116+ if : matrix.install_clang
117+ run : |
118+ sudo apt-get update
119+ sudo apt-get install -y --no-install-recommends --allow-unauthenticated \
120+ clang-20 llvm-20
111121 - name : Install Rust toolchain
112122 uses : dtolnay/rust-toolchain@master
113123 with :
You can’t perform that action at this time.
0 commit comments