We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c406193 commit b478d4dCopy full SHA for b478d4d
src/docbuilder/rustwide_builder.rs
@@ -582,7 +582,9 @@ impl RustwideBuilder {
582
583
let mut env_vars = metadata.environment_variables();
584
let rustdoc_flags = env_vars.entry("RUSTDOCFLAGS").or_default();
585
- rustdoc_flags.push_str(" --static-root-path / --cap-lints warn --disable-per-crate-search");
+ // WARNING: this *must* end with a space or it will cause rustdoc to give an error
586
+ rustdoc_flags
587
+ .push_str(" --static-root-path / --cap-lints warn --disable-per-crate-search ");
588
rustdoc_flags.push_str(&rustdoc_flags_extras.join(" "));
589
590
let mut command = build
0 commit comments