We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ed6b49 commit 1725883Copy full SHA for 1725883
crates/metadata/lib.rs
@@ -765,7 +765,7 @@ mod test_calculations {
765
];
766
assert_eq!(metadata.cargo_args(&[], &[]), expected_args);
767
768
- // rustdocflags
+ // rustcflags
769
let metadata = Metadata {
770
rustc_args: vec!["--cfg".into(), "x".into()],
771
..Metadata::default()
@@ -778,6 +778,10 @@ mod test_calculations {
778
"unstable-options".into(),
779
"--config".into(),
780
"build.rustflags=[\"--cfg\", \"x\"]".into(),
781
+ "-Zhost-config".into(),
782
+ "-Ztarget-applies-to-host".into(),
783
+ "--config".into(),
784
+ "host.rustflags=[\"--cfg\", \"x\"]".into(),
785
786
787
0 commit comments