From 1e55d75e9aac3a31bad2efc0abc48b1c43a0f6ee Mon Sep 17 00:00:00 2001 From: Landon James Date: Tue, 12 Mar 2024 16:04:36 -0700 Subject: [PATCH] Bumping version of `wasi` crate dependency (#3476) ## Motivation and Context The `0.12.0` version of `wasi` suffered from a bug the could impact users using lower versions of `wit-bindgen` dependencies. Mixed versions of `wit-bindgen` generated bindings in a single project would cause a symbol collision. This is fixed by newer versions of `wit-bindgen` and `wasi = 0.12.1` contains bindings generated by one of these newer versions. See this issue for details: https://github.com/bytecodealliance/wit-bindgen/issues/849 and a longer discussion of the issue on Zulip [here](https://bytecodealliance.zulipchat.com/#narrow/stream/327223-wit-bindgen/topic/Component.20failing.20to.20compile.20with.20mixed.20wit-bindgen.20versions/near/422068264). ## Description Bumped version of `wasi` dependency in `aws-amithy-wasm` from `0.12.0` -> `0.12.1` ## Testing ## Checklist - [X] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or 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._ --------- Co-authored-by: John DiSanti --- CHANGELOG.next.toml | 8 +++++++- rust-runtime/aws-smithy-wasm/Cargo.toml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index fc4c4c2578..db78aba957 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -9,4 +9,10 @@ # message = "Fix typos in module documentation for generated crates" # references = ["smithy-rs#920"] # meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"} -# author = "rcoh" \ No newline at end of file +# author = "rcoh" + +[[smithy-rs]] +message = "Increased minimum version of wasi crate dependency in aws-smithy-wasm to 0.12.1." +references = ["smithy-rs#3476"] +meta = { "breaking" = false, "tada" = false, "bug" = false } +authors = ["landonxjames"] diff --git a/rust-runtime/aws-smithy-wasm/Cargo.toml b/rust-runtime/aws-smithy-wasm/Cargo.toml index 12a5bd2bae..bf4602baec 100644 --- a/rust-runtime/aws-smithy-wasm/Cargo.toml +++ b/rust-runtime/aws-smithy-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-wasm" -version = "0.1.0" +version = "0.1.1" authors = [ "AWS Rust SDK Team ", "Eduardo Rodrigues <16357187+eduardomourar@users.noreply.github.com>", @@ -19,7 +19,7 @@ http = "1.0.0" tracing = "0.1.40" # Note the wasi crate will only build for target wasm32-wasi, but having a target # statement here breaks some of the CI tests, so we leave it with the rest of the deps -wasi = "0.12.0" # This is build on wasi-0.2.0 +wasi = "0.12.1" # This is build on wasi-0.2.0 [package.metadata.docs.rs] all-features = true