From f3a564df950655fd69cbd38af35716d5d3e63d6f Mon Sep 17 00:00:00 2001
From: Pat Hickey
Date: Mon, 5 Jan 2026 15:17:04 -0800
Subject: [PATCH] wstd-aws: paper over build failures by pinning crc-fast to
1.3.0
when cargo is able to select the latest compatible wass-sdk-s3 1.119.0,
it selects aws-smithy-checksums 0.63.12, and in turn selects crc-fast
1.6.0, which runs into a bug in wasm-ld.
Until the bug in wasm-ld or crc-fast is fixed, this makes it possible
for wstd ci to pass.
---
aws/Cargo.toml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/aws/Cargo.toml b/aws/Cargo.toml
index 2b42de2..8714cc0 100644
--- a/aws/Cargo.toml
+++ b/aws/Cargo.toml
@@ -23,3 +23,9 @@ wstd.workspace = true
aws-config.workspace = true
aws-sdk-s3.workspace = true
clap.workspace = true
+# crc-fast is a transitive dep via aws-smithy-checksums, which
+# is a dep of aws-sdk-s3 and others.
+# When cargo resolves crc-fast to 1.6.0 via aws-smiothy-checksums 0.63.12,
+# wasm-ld will crash building crc-fast. Until this is resolved, pinning
+# crc-fast is the simplest way to avoid it
+crc-fast = "=1.3.0"