Add --nocapture option to rustdoc

This commit is contained in:
Guillaume Gomez
2021-06-11 16:53:32 +02:00
committed by Guillaume Gomez
parent 68511b574f
commit 6ca0e5ed39
4 changed files with 18 additions and 0 deletions

View File

@@ -604,6 +604,9 @@ fn opts() -> Vec<RustcOptGroup> {
unstable("show-type-layout", |o| {
o.optflagmulti("", "show-type-layout", "Include the memory layout of types in the docs")
}),
unstable("nocapture", |o| {
o.optflag("", "nocapture", "Don't capture stdout and stderr of tests")
}),
]
}