fix publish script

This commit is contained in:
Pat Hickey
2021-02-01 18:16:24 -08:00
parent b59160c3da
commit d83dba47a3

View File

@@ -46,10 +46,9 @@ const CRATES_TO_PUBLISH: &[&str] = &[
"wiggle",
"wiggle-borrow",
"wasmtime-wiggle-macro",
// wasi-common bits
"winx",
"yanix",
// wasi-common
"wasi-common",
"wasi-cap-std-sync",
// wasmtime
"lightbeam",
"wasmtime-environ",
@@ -301,10 +300,7 @@ fn verify(crates: &[Crate]) {
verify_and_vendor(&witx);
// Vendor wasi-crypto which is also a path dependency
let wasi_crypto = crates
.iter()
.find(|c| c.name == "wasi-crypto")
.unwrap();
let wasi_crypto = crates.iter().find(|c| c.name == "wasi-crypto").unwrap();
verify_and_vendor(&wasi_crypto);
for krate in crates {