Introduce the wasmtime-explorer crate (#5975)
This implements Godbolt Compiler Explorer-like functionality for Wasmtime and Cranelift. Given a Wasm module, it compiles the module to native code and then writes a standalone HTML file that gives a split pane view between the WAT and ASM disassemblies.
This commit is contained in:
18
crates/explorer/Cargo.toml
Normal file
18
crates/explorer/Cargo.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "wasmtime-explorer"
|
||||
authors.workspace = true
|
||||
description = "Compiler explorer for Wasmtime and Cranelift"
|
||||
documentation = "https://docs.rs/wasmtime-explorer/"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
capstone = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
target-lexicon = { workspace = true }
|
||||
wasmprinter = { workspace = true }
|
||||
wasmtime = { workspace = true, features = ["cranelift"] }
|
||||
Reference in New Issue
Block a user