Shuffle around the wiggle crates (#1414)
* Shuffle around the wiggle crates This commit reorganizes the wiggle crates slightly by performing the following transforms: * The `crates/wiggle` crate, previously named `wiggle`, was moved to `crates/wiggle/crates/macro` and is renamed to `wiggle-macro`. * The `crates/wiggle/crates/runtime` crate, previously named `wiggle-runtime`, was moved to `crates/wiggle` and is renamed to `wiggle`. * The new `wiggle` crate depends on `wiggle-macro` and reexports the macro. The goal here is that consumers only deal with the `wiggle` crate itself. No more crates depend on `wiggle-runtime` and all dependencies are entirely on just the `wiggle` crate. * Remove the `crates/wiggle/crates` directory Move everything into `crates/wiggle` directly, like `wasi-common` * Add wiggle-macro to test-all script * Fixup a test
This commit is contained in:
11
crates/wiggle/generate/README.md
Normal file
11
crates/wiggle/generate/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# wiggle-generate
|
||||
|
||||
This is a library crate that implements all of the component parts of
|
||||
the `wiggle` proc-macro crate.
|
||||
|
||||
Code lives in a separate non-proc-macro crate so that it can be reused in
|
||||
other settings, e.g. the `lucet-wiggle` crate.
|
||||
|
||||
Code generated by this crate should not have any references to a particular
|
||||
WebAssembly runtime or engine. It should instead expose traits that may be
|
||||
implemented by an engine. Today, it is consumed by both Lucet and Wasmtime.
|
||||
Reference in New Issue
Block a user