Skip to content

Commit 3d1b2fd

Browse files
committed
adopt wasm_encoder changes
1 parent f54c137 commit 3d1b2fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,13 @@ pub fn create_metadata_file_for_wasm(sess: &Session, data: &[u8], section_name:
656656
imports.import(
657657
"env",
658658
"__linear_memory",
659-
wasm_encoder::MemoryType { minimum: 0, maximum: None, memory64: true, shared: false },
659+
wasm_encoder::MemoryType {
660+
minimum: 0,
661+
maximum: None,
662+
memory64: true,
663+
shared: false,
664+
page_size_log2: None,
665+
},
660666
);
661667
}
662668

0 commit comments

Comments
 (0)