We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16aaa09 commit 217e9d9Copy full SHA for 217e9d9
xtask/src/cargo.rs
@@ -256,6 +256,7 @@ impl Cargo {
256
document_private_items,
257
} => {
258
action = "doc";
259
+ extra_args.push("--no-deps");
260
if self.warnings_as_errors {
261
cmd.env("RUSTDOCFLAGS", "-Dwarnings");
262
}
@@ -367,7 +368,7 @@ mod tests {
367
368
};
369
assert_eq!(
370
command_to_string(&cargo.command().unwrap()),
- "RUSTDOCFLAGS=-Dwarnings cargo doc --package uefi --package xtask --features global_allocator --document-private-items --open"
371
+ "RUSTDOCFLAGS=-Dwarnings cargo doc --package uefi --package xtask --features global_allocator --no-deps --document-private-items --open"
372
);
373
374
0 commit comments