Skip to content

Commit fc27cd8

Browse files
committed
Pass -Zunstable-args in case metadata doesn't
1 parent 742a104 commit fc27cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docbuilder/rustwide_builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ impl RustwideBuilder {
583583
cargo_args.push("--verbose".into());
584584
// We know that `metadata` unconditionally passes `-Z rustdoc-map`.
585585
// Don't copy paste this, since that fact is not stable and may change in the future.
586-
// Normally we would need -Z unstable-options, but we currently pass that too.
586+
cargo_args.push("-Zunstable-options".into());
587587
cargo_args.push(r#"--config=doc.extern-map.registries.crates-io="https://docs.rs""#.into());
588588
if let Some(cpu_limit) = self.config.build_cpu_limit {
589589
cargo_args.push(format!("-j{}", cpu_limit));

0 commit comments

Comments
 (0)