Browse Source
This commit resolves an assert in the dwarf generating of core wasm modules when the module has a defined linear memory which is flagged `shared`. This is represented slightly differently in the `VMContext` than owned memories that aren't `shared`, and looks more like an imported memory. With support in #8740 it's now much easier to support this. Closes #8652pull/8753/head
Alex Crichton
5 months ago
committed by
GitHub
5 changed files with 22 additions and 17 deletions
@ -1,4 +1,6 @@ |
|||
fn main() { |
|||
println!("cargo:rustc-link-arg-bin=dwarf_imported_memory=--import-memory"); |
|||
println!("cargo:rustc-link-arg-bin=dwarf_imported_memory=--export-memory"); |
|||
println!("cargo:rustc-link-arg-bin=dwarf_shared_memory=--no-check-features"); |
|||
println!("cargo:rustc-link-arg-bin=dwarf_shared_memory=--shared-memory"); |
|||
} |
|||
|
@ -0,0 +1 @@ |
|||
include!("./dwarf_simple.rs"); |
Loading…
Reference in new issue