Introduction of ahash as dependency in s3 breaks webassembly(wasm) support #1131
Labels
bug
This issue is a bug.
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
As of smithy-lang/smithy-rs#3465 it's no longer possible to compile the aws-sdk-s3 to wasm. Since it it using ahash with default features enabled, getrandom will be a sub-dependency (via the
runtime-rng
feature of ahash).Expected Behavior
I'd like to be able to compile the aws-sdk-s3 to wasm 😃.
Previously this has been possible by disabling the default features on the aws-sdk-s3 crate.
Current Behavior
Compilation of aws-sdk-s3 will fail due to the inclusion of getrandom without its
js
flag enabledReproduction Steps
try to compile the aws-sdk-s3 crate with
cargo build --target wasm32-unknown-unknown --no-default-features
.current output of this command:
Possible Solution
No response
Additional Information/Context
No response
Version
Environment details (OS name and version, etc.)
macos 14.3.1 (23D60)
Logs
No response
The text was updated successfully, but these errors were encountered: