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

chore(deps): update wasm-tools to 0.220.0 #496

Merged
merged 5 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
98 changes: 11 additions & 87 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ serde_yaml = "0.9.33"
prettyplease = "0.2.20"
directories = "5.0"
reqwest = "0.12.5"
wit-component = "0.218.0"
wit-parser = "0.218.0"
wasmprinter = "0.218.0"
wit-component = "0.220.0"
wit-parser = "0.220.0"
wasmprinter = "0.220.0"
bon = "3.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::collections::BTreeMap;
use wac_graph::types::Package;
use wac_graph::CompositionGraph;
use wit_component::{dummy_module, embed_component_metadata, ComponentEncoder, StringEncoding};
use wit_parser::Mangling::Standard32;
use wit_parser::{PackageId, Resolve};

#[tokio::test]
Expand Down Expand Up @@ -34,7 +35,7 @@ async fn should_combine_wasm_components() -> Result<()> {

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down Expand Up @@ -90,7 +91,7 @@ async fn return_error_when_multiple_dependencies_on_the_same_provider_is_found()

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down Expand Up @@ -140,7 +141,7 @@ async fn return_error_when_multiple_versions_of_pulumi_wasm_is_found() -> Result

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down Expand Up @@ -201,7 +202,7 @@ async fn return_error_when_multiple_versions_of_pulumi_wasm_in_providers_is_foun

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down Expand Up @@ -271,7 +272,7 @@ impl PulumiWasmSource for TestProgramSource {

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down Expand Up @@ -306,7 +307,7 @@ impl DefaultProviderSource for TestDefaultProviderSource {

let world = resolve.select_world(pkg, None).unwrap();

let mut module = dummy_module(&resolve, world);
let mut module = dummy_module(&resolve, world, Standard32);

embed_component_metadata(&mut module, &resolve, world, StringEncoding::UTF8).unwrap();

Expand Down