From 21b3995a2fde2671a7823870c0c6862960197244 Mon Sep 17 00:00:00 2001 From: Landon James Date: Wed, 19 Jun 2024 09:36:57 -0700 Subject: [PATCH] Update canary build tool (#3701) ## Motivation and Context Our WASI canary was breaking with the newest Rust version due to the new WASI build targets: https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html ## Description Updating the version of `cargo-component` used to build our WASI canary. Made the same update in the `aws-sdk-rust` repo: https://github.com/awslabs/aws-sdk-rust/pull/1168 ## Testing This same change was made in the canary workflow in the `aws-sdk-rust` repo and run successfully there: * PR: https://github.com/awslabs/aws-sdk-rust/pull/1168 * Canary run: https://github.com/awslabs/aws-sdk-rust/actions/runs/9575014647 ## Checklist - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --- tools/ci-build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci-build/Dockerfile b/tools/ci-build/Dockerfile index ea75cf2483..65988ae222 100644 --- a/tools/ci-build/Dockerfile +++ b/tools/ci-build/Dockerfile @@ -126,7 +126,7 @@ ARG rust_nightly_version RUN cargo install wasmtime-cli --features="component-model" --locked --version ${cargo_wasmtime_version} FROM install_rust AS cargo_component -ARG cargo_component_version=0.10.1 +ARG cargo_component_version=0.13.2 ARG rust_nightly_version RUN cargo +${rust_nightly_version} install cargo-component --locked --version ${cargo_component_version}