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

@@ -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,
});