Merge rust-bitcoin/rust-secp256k1#500: Use clang instead of clang-9

a59028c965 Use clang instead of clang-9 (Tobin C. Harding)

Pull request description:

  The current version of clang is 14, there is no obvious reason why we use clang-9 (as far as I can tell on my local machine).

  Use `clang` instead of `clang-9` so that the latest version is used by default. This effects the version installed by CI as well as the version used to run commands in `test.sh`.

ACKs for top commit:
  apoelstra:
    ACK a59028c965

Tree-SHA512: b3c5a56d21dc0bc8cb80db9854917b39c86ba735434b3a644eb22608492b07558ddff4b2ee3ff5b14e066d31fbdcc890d4c9e3f44af7b1d62c5e8eab6d31b90e
This commit is contained in:
Andrew Poelstra 2022-11-04 23:37:30 +00:00
commit a08029ef90
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ jobs:
- name: Checkout Crate - name: Checkout Crate
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install clang - name: Install clang
run: sudo apt-get install -y clang-9 run: sudo apt-get install -y clang
- name: Checkout Toolchain - name: Checkout Toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:

View File

@ -69,11 +69,11 @@ fi
# Webassembly stuff # Webassembly stuff
if [ "$DO_WASM" = true ]; then if [ "$DO_WASM" = true ]; then
clang-9 --version clang --version
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
CC=clang-9 wasm-pack build CC=clang wasm-pack build
CC=clang-9 wasm-pack test --node CC=clang wasm-pack test --node
fi fi
# Address Sanitizer # Address Sanitizer