Skip to content

Commit

Permalink
Use Mode::ToolBootstrap for building book deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Oct 29, 2024
1 parent 2aae449 commit 872291b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ impl BookTest {
let libs = if !self.dependencies.is_empty() {
let mut lib_paths = vec![];
for dep in self.dependencies {
let mode = Mode::ToolRustc;
let mode = Mode::ToolBootstrap;
let target = builder.config.build;
// CHECKME: is this correct, or should it be using `builder::Cargo::new`?
let cargo = tool::prepare_tool_cargo(
Expand Down

0 comments on commit 872291b

Please sign in to comment.