Remove the wasmtime wasm2obj command (#3301)
* Remove the `wasmtime wasm2obj` command This commit removes the `wasm2obj` subcommand of the `wasmtime` CLI. This subcommand has a very long history and dates back quite far. While it's existed, however, it's never been documented in terms of the output it's produced. AFAIK it's only ever been used for debugging to see the machine code output of Wasmtime on some modules. With recent changes to the module serialization output the output of `wasmtime compile`, the `*.cwasm` file, is now a native ELF file which can be fed to standard tools like `objdump`. Consequently I dont think there's any remaining need to keep `wasm2obj` around itself, so this commit removes the subcommand. * More code to delete * Try to fix debuginfo tests
This commit is contained in:
@@ -71,16 +71,6 @@ $ wasmtime config new
|
||||
|
||||
And that'll print out the path to the file you can edit.
|
||||
|
||||
## `wasm2obj`
|
||||
|
||||
This is an experimental subcommand to compile a WebAssembly module to native
|
||||
code. Work for this is still heavily under development, but you can execute this
|
||||
with:
|
||||
|
||||
```sh
|
||||
$ wasmtime wasm2obj foo.wasm foo.o
|
||||
```
|
||||
|
||||
## `compile`
|
||||
|
||||
This subcommand is used to Ahead-Of-Time (AOT) compile a WebAssembly module to produce
|
||||
|
||||
Reference in New Issue
Block a user