Skip to content

Commit

Permalink
mention json target specs in run_make_support
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Apr 15, 2024
1 parent 8acfe9a commit af887d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/run-make-support/src/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit af887d3

Please sign in to comment.