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.
crate_type
Rustdoc
1 parent be7549f commit 23e965eCopy full SHA for 23e965e
src/tools/run-make-support/src/rustdoc.rs
@@ -107,6 +107,13 @@ impl Rustdoc {
107
self
108
}
109
110
+ /// Specify the crate type.
111
+ pub fn crate_type(&mut self, crate_type: &str) -> &mut Self {
112
+ self.cmd.arg("--crate-type");
113
+ self.cmd.arg(crate_type);
114
+ self
115
+ }
116
+
117
#[track_caller]
118
pub fn run_fail_assert_exit_code(&mut self, code: i32) -> Output {
119
let caller_location = std::panic::Location::caller();
0 commit comments