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
I constructed a wasm binary with many exported function. I used the following command and compared the outputs of WAMR with other runtimes.
filea202224.zip
wasmtime compile filea202224.wasm wasmer compile -o filea202224.aot filea202224.wasm wamrc -o filea202224.aot filea202224.wasm wasmedge compile filea202224.wasm filea202224.aot
The outputs of WAMR are different from other runtimes. The outputs are as follows:
-----------------wasmtime----------------- -----------------wasmer----------------- warning: the output file has a wrong extension. We recommend using `filea202224.wasmu` for the chosen target Compiler: cranelift Target: x86_64-unknown-linux-gnu ✔ File compiled successfully to `filea202224.aot`. -----------------wamr----------------- WASM module load failed: duplicate export name -----------------wasmedge----------------- [2023-11-19 20:39:52.263] [info] compile start [2023-11-19 20:39:52.268] [info] verify start [2023-11-19 20:39:52.270] [info] optimize start [2023-11-19 20:39:52.350] [info] codegen start [2023-11-19 20:39:52.419] [info] output start [2023-11-19 20:39:52.423] [info] compile done [2023-11-19 20:39:52.424] [info] output start
I have analyzed it and I think the error may occurred at line 8970 and line 8971 of its wat file.
The text was updated successfully, but these errors were encountered:
thanks for reporting it. pleas try again with #2806. We might set a limitation on import names and exports, please join the discussion in #2806
Sorry, something went wrong.
Output warning and quit if import/export name contains '\00' (#2806)
718f067
Leave it as a limitation when import/export name contains '\00' in wasm file. p.s. #2789
Output warning and quit if import/export name contains '\00' (bytecod…
30290d2
…ealliance#2806) Leave it as a limitation when import/export name contains '\00' in wasm file. p.s. bytecodealliance#2789
No branches or pull requests
I constructed a wasm binary with many exported function. I used the following command and compared the outputs of WAMR with other runtimes.
filea202224.zip
The outputs of WAMR are different from other runtimes.
The outputs are as follows:
I have analyzed it and I think the error may occurred at line 8970 and line 8971 of its wat file.
The text was updated successfully, but these errors were encountered: