Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support compiling to webassembly #2254

Merged
merged 48 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
ffa9923
feat(aws-config): define default feature for sso
eduardomourar Jan 25, 2023
91a8dcc
chore(aws): disable unused features
eduardomourar Jan 25, 2023
1fbd97b
chore(rust-runtime): disable unused features
eduardomourar Jan 25, 2023
06a62b7
chore: add missing tokio fs feature
eduardomourar Jan 26, 2023
a725e0c
chore: disable spawn blocking on wasm
eduardomourar Jan 26, 2023
cae60ef
chore: fix sso feature
eduardomourar Jan 26, 2023
ef00e01
chore: allow unused variables when not sso
eduardomourar Jan 26, 2023
497c4b9
chore: remove unnecessary dependency filter for wasm
eduardomourar Jan 26, 2023
59791df
chore: add integration test for wasm
eduardomourar Jan 26, 2023
7478507
chore: ensure test-util feature is applied to dev dependencies
eduardomourar Jan 26, 2023
56b7b33
chore: disable retry config
eduardomourar Jan 26, 2023
d8fcf49
chore: simplify features as suggested
eduardomourar Jan 26, 2023
86a5689
chore: no default features for aws types
eduardomourar Jan 26, 2023
c0d61ed
chore: rename credentials-sso feature
eduardomourar Jan 26, 2023
a5b6316
Revert "chore: simplify features as suggested"
eduardomourar Jan 27, 2023
f2d47b5
chore: set right name in default features
eduardomourar Jan 27, 2023
df4ab9e
chore: create smithy client test util in runtime types
eduardomourar Jan 27, 2023
154342f
Update aws/rust-runtime/aws-types/Cargo.toml
eduardomourar Jan 27, 2023
937022c
Update aws/rust-runtime/aws-inlineable/Cargo.toml
eduardomourar Jan 27, 2023
08df0df
Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs
eduardomourar Jan 27, 2023
98d336e
Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs
eduardomourar Jan 27, 2023
45cae40
Update aws/rust-runtime/aws-config/src/profile/credentials/exec.rs
eduardomourar Jan 27, 2023
1687bbc
Update aws/rust-runtime/aws-config/src/lib.rs
eduardomourar Jan 27, 2023
14e23fb
chore: use hardcoded credentials feature
eduardomourar Jan 30, 2023
be22904
chore: make wasm example for s3 instead
eduardomourar Jan 30, 2023
6a578ec
chore: fix formatting
eduardomourar Jan 30, 2023
1406d42
Merge remote-tracking branch 'origin/main' into feat/support-wasm
eduardomourar Jan 30, 2023
25c8fd3
chore: fix kotlin formatting
eduardomourar Jan 30, 2023
4791b46
chore: fix kotlin unit tests
eduardomourar Jan 30, 2023
40136bd
chore: use timeout config from smithy types
eduardomourar Jan 30, 2023
00234f2
Merge branch 'main' into feat/support-wasm
eduardomourar Feb 1, 2023
40da289
Merge branch 'main' into feat/support-wasm
eduardomourar Mar 15, 2023
2755357
chore: move tests into main file
eduardomourar Mar 16, 2023
5fc3dfd
chore: add vscode setttings to target wasi by default
eduardomourar Mar 16, 2023
0506f75
chore: fix test-util feature for smithy client
eduardomourar Mar 16, 2023
bc4f686
chore: separate adapter into own module
eduardomourar Mar 22, 2023
d353ac3
Merge branch 'main' into feat/support-wasm
eduardomourar Mar 22, 2023
0beea87
chore: fix test with no default features
eduardomourar Mar 22, 2023
0d52a87
Merge branch 'main' into feat/support-wasm
eduardomourar Mar 24, 2023
ffe83ea
Fix typo
jdisanti Mar 24, 2023
0ec8283
Update changelog
jdisanti Mar 24, 2023
01f106c
Check compilation of `aws-config` against `wasm32` in CI
jdisanti Mar 24, 2023
bc2fe6c
Merge remote-tracking branch 'origin/main' into support-wasm
jdisanti Mar 24, 2023
ba00b09
Fix Dockerfile issue and use correct cargo-wasi command
jdisanti Mar 24, 2023
04c7094
Small Dockerfile fix
jdisanti Mar 24, 2023
7e90fb3
Add missing `tar` binary to Docker image
jdisanti Mar 24, 2023
4bfd4e4
Merge branch 'main' into feat/support-wasm
jdisanti Mar 24, 2023
5e63eec
Merge branch 'main' into feat/support-wasm
rcoh Mar 29, 2023
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
Prev Previous commit
Next Next commit
Fix Dockerfile issue and use correct cargo-wasi command
  • Loading branch information
jdisanti committed Mar 24, 2023
commit ba00b0971bc375917ae8b185c9588c107ed99e34
2 changes: 1 addition & 1 deletion tools/ci-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ARG wasmtime_precompiled_sha256=b8a1c97f9107c885ea73a5c38677d0d340a7c26879d366e8
ARG rust_nightly_version
RUN set -eux; \
curl "${wasmtime_precompiled_url}" -L -o wasmtime.xz; \
echo "${wasmtime_precompiled_sha256} wasmtime.xz" | sha256sum --check;
echo "${wasmtime_precompiled_sha256} wasmtime.xz" | sha256sum --check; \
tar xf wasmtime.xz; \
mv wasmtime-v*/wasmtime /opt;

Expand Down
2 changes: 1 addition & 1 deletion tools/ci-scripts/check-aws-config
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ cargo check --target wasm32-wasi --no-default-features
# TODO(https://github.com/awslabs/smithy-rs/issues/2499): Uncomment the following once aws-config tests compile for WASM
# echo "${C_YELLOW}## Testing the wasm32-unknown-unknown and wasm32-wasi targets${C_RESET}"
# wasm-pack test --node -- --no-default-features
# cargo test --target wasm32-wasi --no-default-features
# cargo wasi test --no-default-features

popd &>/dev/null