Skip to content

Commit 8ed1be8

Browse files
authored
Bump to aws-lc-rs v1.13.0 (#758)
* Bump to aws-lc-rs v1.13.0 * Fix clang-19, CMake 4.0 FIPS tests
1 parent 1e96391 commit 8ed1be8

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

.github/docker_images/cmake_build_versions/aws_lc_rs_build.sh

-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ set -ex -o pipefail
77

88
echo "Building with CMake Version: $(cmake --version)"
99
FIPS_BUILD=1
10-
if cmake --version | grep -q " 4."; then
11-
echo "CMake version is 4.x, skipping FIPS build"
12-
FIPS_BUILD=0
13-
fi
1410

1511
. "${HOME}/.cargo/env"
1612
SRC_DIR="${SRC_DIR:-/aws_lc_rs}"

.github/workflows/tests.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
- if: ${{ startsWith(matrix.os, 'macos-') }}
7373
run: |
7474
brew install llvm
75-
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> "$GITHUB_ENV"
76-
echo 'export LIBCLANG_PATH=/opt/homebrew/opt/llvm' >> "$GITHUB_ENV"
75+
echo 'LIBCLANG_PATH=${{ (matrix.os == 'macos-13' && '/usr/local') || '/opt/homebrew' }}/opt/llvm/lib' >> $GITHUB_ENV
76+
echo 'LLVM_CONFIG_PATH=${{ (matrix.os == 'macos-13' && '/usr/local') || '/opt/homebrew' }}/opt/llvm/bin/llvm-config' >> $GITHUB_ENV
7777
- uses: dtolnay/rust-toolchain@master
7878
id: toolchain
7979
with:
@@ -474,8 +474,8 @@ jobs:
474474
- if: ${{ startsWith(matrix.os, 'macos-') }}
475475
run: |
476476
brew install llvm
477-
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"'
478-
echo 'export LIBCLANG_PATH=/opt/homebrew/opt/llvm' >> "$GITHUB_ENV"
477+
echo 'LIBCLANG_PATH=${{ (matrix.os == 'macos-13' && '/usr/local') || '/opt/homebrew' }}/opt/llvm/lib' >> $GITHUB_ENV
478+
echo 'LLVM_CONFIG_PATH=${{ (matrix.os == 'macos-13' && '/usr/local') || '/opt/homebrew' }}/opt/llvm/bin/llvm-config' >> $GITHUB_ENV
479479
- name: Set Rust toolchain override
480480
run: rustup override set ${{ steps.toolchain.outputs.name }}
481481
- name: Install cargo-careful
@@ -495,9 +495,6 @@ jobs:
495495
if: github.repository_owner == 'aws'
496496
name: Clang 19.1 + bindgen tests
497497
runs-on: macos-14-xlarge
498-
env:
499-
LIBCLANG_PATH: /opt/homebrew/opt/llvm/lib
500-
LLVM_CONFIG_PATH: /opt/homebrew/opt/llvm/llvm-config
501498
steps:
502499
- uses: actions/checkout@v4
503500
with:
@@ -513,7 +510,8 @@ jobs:
513510
brew update
514511
brew uninstall --force llvm
515512
brew install llvm@19
516-
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> "$GITHUB_ENV"
513+
echo 'LIBCLANG_PATH=/opt/homebrew/opt/llvm@19/lib' >> $GITHUB_ENV
514+
echo 'LLVM_CONFIG_PATH=/opt/homebrew/opt/llvm@19/bin/llvm-config' >> $GITHUB_ENV
517515
- name: aws-lc-sys bindgen build
518516
working-directory: ./aws-lc-sys
519517
run: cargo test --features bindgen

aws-lc-rs/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "aws-lc-rs"
33
authors = ["AWS-LibCrypto"]
4-
version = "1.12.7"
4+
version = "1.13.0"
55
# this crate re-exports whatever sys crate that was selected
6-
links = "aws_lc_rs_1_12_7_sys"
6+
links = "aws_lc_rs_1_13_0_sys"
77
edition = "2021"
88
rust-version = "1.63.0"
99
keywords = ["crypto", "cryptography", "security"]

0 commit comments

Comments
 (0)