Files
wasmtime/cranelift/codegen/src
Peter Huene 29d366db7b Add a compile command to Wasmtime.
This commit adds a `compile` command to the Wasmtime CLI.

The command can be used to Ahead-Of-Time (AOT) compile WebAssembly modules.

With the `all-arch` feature enabled, AOT compilation can be performed for
non-native architectures (i.e. cross-compilation).

The `Module::compile` method has been added to perform AOT compilation.

A few of the CLI flags relating to "on by default" Wasm features have been
changed to be "--disable-XYZ" flags.

A simple example of using the `wasmtime compile` command:

```text
$ wasmtime compile input.wasm
$ wasmtime input.cwasm
```
2021-04-01 19:38:18 -07:00
..
2020-11-11 12:36:17 +01:00
2021-04-01 19:38:18 -07:00
2020-07-17 12:03:17 +02:00
2020-04-15 17:21:28 -07:00
2019-10-24 17:20:12 -07:00
2021-02-18 13:01:01 +01:00
2020-07-16 14:56:11 +03:00