Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 25, 2024
1 parent 7f7154b commit 845ec20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/runtime/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ fn tests(name: &str, dir_name: &str) -> Result<Vec<PathBuf>> {
// Translate the canonical ABI module into a component.

let mut module = fs::read(&out_wasm).expect("failed to read wasm file");
let encoded =
wit_component::metadata::encode(&resolve, world, StringEncoding::UTF8, None, None)?;
let encoded = wit_component::metadata::encode(&resolve, world, StringEncoding::UTF8, None)?;

let section = wasm_encoder::CustomSection {
name: Cow::Borrowed("component-type"),
Expand Down

0 comments on commit 845ec20

Please sign in to comment.