We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adbe398 commit dac5f93Copy full SHA for dac5f93
src/docbuilder/rustwide_builder.rs
@@ -581,7 +581,9 @@ impl RustwideBuilder {
581
582
let mut env_vars = metadata.environment_variables();
583
let rustdoc_flags = env_vars.entry("RUSTDOCFLAGS").or_default();
584
- 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
585
+ rustdoc_flags
586
+ .push_str(" --static-root-path / --cap-lints warn --disable-per-crate-search ");
587
rustdoc_flags.push_str(&rustdoc_flags_extras.join(" "));
588
589
let mut command = build
0 commit comments