Skip to content

Commit

Permalink
upgrade rustwide to 0.18.0, capture output for more errors
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Oct 13, 2024
1 parent 2410af3 commit 286ac5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ comrak = { version = "0.29.0", default-features = false }
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "html", "dump-load", "regex-onig"] }
toml = "0.8.0"
prometheus = { version = "0.13.0", default-features = false }
rustwide = { version = "0.17.0", features = ["unstable-toolchain-ci", "unstable"] }
rustwide = { version = "0.18.0", features = ["unstable-toolchain-ci", "unstable"] }
mime_guess = "2"
zstd = "0.13.0"
hostname = "0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions src/docbuilder/rustwide_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,14 +507,14 @@ impl RustwideBuilder {
Command::new(&self.workspace, self.toolchain.cargo())
.cd(build.host_source_dir())
.args(&["generate-lockfile"])
.run()?;
.run_capture()?;
}
{
let _span = info_span!("cargo fetch --locked").entered();
Command::new(&self.workspace, self.toolchain.cargo())
.cd(build.host_source_dir())
.args(&["fetch", "--locked"])
.run()?;
.run_capture()?;
}
res =
self.execute_build(default_target, true, build, &limits, &metadata, false)?;
Expand Down

0 comments on commit 286ac5c

Please sign in to comment.