Skip to content

Commit

Permalink
adopt wasm_encoder changes
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Jul 21, 2024
1 parent 8f1ce89 commit 32f28d5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion compiler/rustc_codegen_ssa/src/back/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,13 @@ pub fn create_metadata_file_for_wasm(sess: &Session, data: &[u8], section_name:
imports.import(
"env",
"__linear_memory",
wasm_encoder::MemoryType { minimum: 0, maximum: None, memory64: true, shared: false },
wasm_encoder::MemoryType {
minimum: 0,
maximum: None,
memory64: true,
shared: false,
page_size_log2: None,
},
);
}

Expand Down

0 comments on commit 32f28d5

Please sign in to comment.