Skip to content

Commit 8008723

Browse files
committed
use rustdocflags instead of rustflags
1 parent 078dbc1 commit 8008723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docbuilder/rustwide_builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -986,11 +986,11 @@ impl RustwideBuilder {
986986
// this is how we can reach it from outside the container.
987987
fs::create_dir_all(build.host_target_dir().join("metrics/"))?;
988988

989-
let rustflags = toml::Value::try_from(vec![flag])
989+
let rustdocflags = toml::Value::try_from(vec![flag])
990990
.expect("serializing a string should never fail")
991991
.to_string();
992992
cargo_args.push("--config".into());
993-
cargo_args.push(format!("build.rustflags={rustflags}"));
993+
cargo_args.push(format!("build.rustdocflags={rustdocflags}"));
994994
}
995995

996996
Ok(command.args(&cargo_args))

0 commit comments

Comments
 (0)