File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ pub struct UnitInner {
6868 /// As of now, these flags come from environment variables and configurations.
6969 /// See [`TargetInfo.rustflags`] for more on how Cargo collects them.
7070 ///
71- /// [`TargetInfo.rustflags`]: TargetInfo::rustflags
71+ /// [`BuildContext::extra_args_for`]: crate::core::compiler::build_context::BuildContext::extra_args_for
72+ /// [`TargetInfo.rustflags`]: crate::core::compiler::build_context::TargetInfo::rustflags
7273 pub rustflags : Arc < [ String ] > ,
7374 /// Extra compiler flags to pass to `rustdoc` for a given unit.
7475 ///
@@ -78,7 +79,8 @@ pub struct UnitInner {
7879 /// As of now, these flags come from environment variables and configurations.
7980 /// See [`TargetInfo.rustdocflags`] for more on how Cargo collects them.
8081 ///
81- /// [`TargetInfo.rustdocflags`]: TargetInfo::rustdocflags
82+ /// [`BuildContext::extra_args_for`]: crate::core::compiler::build_context::BuildContext::extra_args_for
83+ /// [`TargetInfo.rustdocflags`]: crate::core::compiler::build_context::TargetInfo::rustdocflags
8284 pub rustdocflags : Arc < [ String ] > ,
8385 // if `true`, the dependency is an artifact dependency, requiring special handling when
8486 // calculating output directories, linkage and environment variables provided to builds.
You can’t perform that action at this time.
0 commit comments