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:
Dan Gohman
2020-03-26 20:31:12 -07:00
committed by GitHub
parent a628dc315e
commit 6c0c9a46f3
10 changed files with 20 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ rustup target add wasm32-wasi
Next, to run all tests including the WASI integration tests, execute this command:
```shell
cargo test --features test_programs --all
cargo test --features test-programs/test_programs --all
```
You can also exclude a particular crate from testing with `--exclude`. For
@@ -78,7 +78,7 @@ can be useful when working on the `wasi-common` crate. This can be done by
executing this command:
```shell
cargo test --features test_programs -p test-programs
cargo test --features test-programs/test_programs -p test-programs
```
## Adding New Tests