We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6172d commit 594cb93Copy full SHA for 594cb93
src/cargo/core/compiler/build_context/target_info.rs
@@ -698,6 +698,8 @@ impl Flags {
698
/// For those artifacts, _only_ `host.*.rustflags` is respected, and no other configuration
699
/// sources, _regardless of the value of `target-applies-to-host`_. This is counterintuitive, but
700
/// necessary to retain backwards compatibility with older versions of Cargo.
701
+///
702
+/// Rules above also applies to rustdoc. Just the key would be `rustdocflags`/`RUSTDOCFLAGS`.
703
fn extra_args(
704
gctx: &GlobalContext,
705
requested_kinds: &[CompileKind],
0 commit comments