Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ fn verify(crates: &[Crate]) {
fn verify_and_vendor(krate: &Crate) {
let mut cmd = Command::new("cargo");
cmd.arg("package")
.arg("--allow-dirty")
.arg("--manifest-path")
.arg(&krate.manifest)
.env("CARGO_TARGET_DIR", "./target");
Expand Down
2 changes: 1 addition & 1 deletion crates/wac-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ wasm-metadata = { workspace = true }
miette = { workspace = true, features = ["serde"]}

[dev-dependencies]
wac-resolver = { workspace = true, default-features = false, features = ["wat", "wit"] }
wac-resolver = { path = "../wac-resolver", default-features = false, features = ["wat", "wit"] }
owo-colors = "4.0.0"
pretty_assertions = { workspace = true }
pretty_env_logger = { workspace = true }
Expand Down
3 changes: 2 additions & 1 deletion crates/wac-resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ tokio = { workspace = true, optional = true }
futures = { workspace = true, optional = true }

[dev-dependencies]
wac-graph = { workspace = true }
wac-graph = { path = "../wac-graph" }
wasmprinter = { workspace = true }
warg-server = { workspace = true }
wit-parser = { workspace = true }
pretty_assertions = { workspace = true }
tokio-util = "0.7.10"
tempdir = "0.3.7"
Expand Down
2 changes: 1 addition & 1 deletion crates/wac-resolver/tests/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn publish_wit(
use std::io::Write;
let mut resolve = Resolve::new();
let mut tmp = tempfile::NamedTempFile::new()?;
tmp.write(wit.as_bytes())?;
tmp.write_all(wit.as_bytes())?;
let path = tmp.path();
let pkg = resolve
.push_file(path)
Expand Down
Loading