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.
target
Rustdoc
1 parent d25cf6f commit eea00caCopy full SHA for eea00ca
src/tools/run-make-support/src/rustdoc.rs
@@ -123,6 +123,12 @@ impl Rustdoc {
123
self
124
}
125
126
+ /// Specify the target triple, or a path to a custom target json spec file.
127
+ pub fn target(&mut self, target: &str) -> &mut Self {
128
+ self.cmd.arg(format!("--target={target}"));
129
+ self
130
+ }
131
+
132
/// Specify the crate type.
133
pub fn crate_type(&mut self, crate_type: &str) -> &mut Self {
134
self.cmd.arg("--crate-type");
0 commit comments