We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a new data segment produces bad Wasm binary.
let mut m = Module::with_config(ModuleConfig::new()); m.data.add(DataKind::Passive, vec![1,2,3,4]); m.emit_wasm_file("out.wasm").unwrap();
Running wasm2wat out.wasm -o out.wat gets the following error
wasm2wat out.wasm -o out.wat
000000e: error: invalid section code: 12
wasm2wat should produce no error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
Adding a new data segment produces bad Wasm binary.
Steps to Reproduce
Running
wasm2wat out.wasm -o out.wat
gets the following errorExpected Behavior
wasm2wat should produce no error.
The text was updated successfully, but these errors were encountered: