mention json target specs in run_make_support
This commit is contained in:
parent
8acfe9a138
commit
af887d3c42
1 changed files with 1 additions and 2 deletions
|
|
@ -128,9 +128,8 @@ impl Rustc {
|
|||
self
|
||||
}
|
||||
|
||||
/// Specify target triple.
|
||||
/// Specify the target triple, or a path to a custom target json spec file.
|
||||
pub fn target(&mut self, target: &str) -> &mut Self {
|
||||
assert!(!target.contains(char::is_whitespace), "target triple cannot contain spaces");
|
||||
self.cmd.arg(format!("--target={target}"));
|
||||
self
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue