Skip to content

Commit d80de66

Browse files
committed
Auto merge of #14201 - gmorenz:rustdocflags-debug, r=weihanglo
Add rustdocflags to Unit's Debug impl ### What does this PR try to resolve? Not adding this was an oversight in #13900, `rustflags` was added but not `rustdocflags`. Sorry about not getting this right the first time. ### How should we test and review this PR? Read the code and compare to the original PR where the matching line was added for rustflags. r? `@weihanglo`
2 parents c7be9e4 + d493801 commit d80de66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/core/compiler/unit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ impl fmt::Debug for Unit {
175175
.field("mode", &self.mode)
176176
.field("features", &self.features)
177177
.field("rustflags", &self.rustflags)
178+
.field("rustdocflags", &self.rustdocflags)
178179
.field("artifact", &self.artifact.is_true())
179180
.field(
180181
"artifact_target_for_features",

0 commit comments

Comments
 (0)