Fixes for cargo publish (#1416)
* Publishing fixes. * Make WASI a symlink. * More fixes. * Cargo doesn't allow dev-dependencies to have optional features. * Remove the symlink. * Add WASI as another git submodule.
This commit is contained in:
@@ -9,6 +9,7 @@ keywords = ["webassembly", "wasm"]
|
||||
repository = "https://github.com/bytecodealliance/wasmtime"
|
||||
readme = "README.md"
|
||||
edition = "2018"
|
||||
include = ["src/**/*", "LICENSE", "WASI/phases"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
||||
@@ -60,10 +60,10 @@ rustup target add wasm32-wasi
|
||||
[rustup]: https://rustup.rs
|
||||
|
||||
Now, you should be able to run the integration testsuite by running `cargo test` on the
|
||||
`test-programs` package with `test_programs` feature enabled:
|
||||
`test-programs` package with `test-programs/test_programs` feature enabled:
|
||||
|
||||
```
|
||||
cargo test --features test_programs --package test-programs
|
||||
cargo test --features test-programs/test_programs --package test-programs
|
||||
```
|
||||
|
||||
## Third-Party Code
|
||||
|
||||
1
crates/wasi-common/WASI
Submodule
1
crates/wasi-common/WASI
Submodule
Submodule crates/wasi-common/WASI added at 068b282abf
@@ -4,7 +4,7 @@
|
||||
use crate::WasiCtx;
|
||||
|
||||
wiggle::from_witx!({
|
||||
witx: ["wig/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
|
||||
witx: ["WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
|
||||
ctx: WasiCtx,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user