Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,41 @@ jobs:
shell: bash
run: cross test --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" ${{ matrix.test_aws_exclude }} --workspace

# Test runtime crates on multiple architectures to catch architecture-specific issues
# like crc-fast 1.4 SIGILL on ARM before merge
test-runtime-architectures:
name: Test Runtime (${{ matrix.target }})
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.git_ref }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.rust_version }}
targets: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross --locked
- name: Build smithy-rs runtime on ${{ matrix.target }}
shell: bash
run: cross build --target ${{ matrix.target }} --manifest-path "rust-runtime/Cargo.toml" --workspace --exclude aws-smithy-http-server-python --exclude aws-smithy-http-server-typescript --exclude aws-smithy-experimental
- name: Build AWS runtime on ${{ matrix.target }}
shell: bash
run: cross build --target ${{ matrix.target }} --manifest-path "aws/rust-runtime/Cargo.toml" --workspace

# Run the canary against generated SDKs
#
# In addition to Matrix Success, this job will also be required to pass for merge.
Expand Down Expand Up @@ -391,6 +426,7 @@ jobs:
- test-sdk
- test-rust-windows
- test-exotic-platform-support
- test-runtime-architectures
# Run this job even if its dependency jobs fail
if: always()
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion aws/rust-runtime/aws-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws-types"
version = "1.3.11"
version = "1.3.12"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "Cross-service types for the AWS SDK."
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions aws/rust-runtime/aws-types/src/sdk_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,15 +442,15 @@ impl Builder {
///
/// # Examples
/// Disabling identity caching:
/// ```rust
/// ```ignore
/// # use aws_types::SdkConfig;
/// use aws_smithy_runtime::client::identity::IdentityCache;
/// let config = SdkConfig::builder()
/// .identity_cache(IdentityCache::no_cache())
/// .build();
/// ```
/// Changing settings on the default cache implementation:
/// ```rust
/// ```ignore
/// # use aws_types::SdkConfig;
/// use aws_smithy_runtime::client::identity::IdentityCache;
/// use std::time::Duration;
Expand All @@ -475,7 +475,7 @@ impl Builder {
/// expires.
///
/// # Examples
/// ```rust
/// ```ignore
/// # use aws_types::SdkConfig;
/// use aws_smithy_runtime::client::identity::IdentityCache;
///
Expand Down
Loading