Skip to content
Open
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
59 changes: 25 additions & 34 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 src/hyperlight_component_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true

Check warning on line 7 in src/hyperlight_component_util/Cargo.toml

View workflow job for this annotation

GitHub Actions / miri (arm64) / miri

`package.homepage` is redundant with `package.repository`

Check warning on line 7 in src/hyperlight_component_util/Cargo.toml

View workflow job for this annotation

GitHub Actions / miri (X64) / miri

`package.homepage` is redundant with `package.repository`
repository.workspace = true
readme.workspace = true
description = """
Expand All @@ -15,10 +15,10 @@
name = "hyperlight_component_util"

[dependencies]
wasmparser = { version = "0.259.0" }
wasmparser = { version = "0.261.0" }
wat = { version = "1.256.0" }
wit-component = { version = "0.259.0" }
wit-parser = { version = "0.259.0" }
wit-component = { version = "0.262.0" }
wit-parser = { version = "0.262.0" }
quote = { version = "1.0.45" }
proc-macro2 = { version = "1.0.106" }
syn = { version = "3.0.1" }
Expand Down
4 changes: 2 additions & 2 deletions src/hyperlight_component_util/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl WitSource {
panic!("failed to parse WIT input '{}': {err:#}", path.display())
});

wit_component::encode(&resolve, package).unwrap_or_else(|err| {
wit_component::encode(&resolve, package, false).unwrap_or_else(|err| {
panic!(
"failed to encode WIT input '{}' as a wasm component type: {err:#}",
path.display()
Expand Down Expand Up @@ -79,7 +79,7 @@ impl WitSource {
.unwrap_or_else(|err| {
panic!("failed to parse inline WIT input: {err:#}")
});
wit_component::encode(&resolve, package).unwrap_or_else(|err| {
wit_component::encode(&resolve, package, false).unwrap_or_else(|err| {
panic!("failed to encode inline WIT input as a wasm component type: {err:#}")
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn encode_wit_fixture_to_wasm(path: &Path) -> PathBuf {
let (package, _) = resolve
.push_path(path)
.expect("WIT fixture should parse successfully");
let wasm = wit_component::encode(&resolve, package).expect("WIT fixture should encode");
let wasm = wit_component::encode(&resolve, package, false).expect("WIT fixture should encode");
let wasm_path = std::env::temp_dir().join(format!(
"hyperlight-component-util-{}-{}-wit-fixture.wasm",
std::process::id(),
Expand Down
48 changes: 30 additions & 18 deletions src/tests/rust_guests/Cargo.lock

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

Loading