Skip to content

Commit af887d3

Browse files
committed
mention json target specs in run_make_support
1 parent 8acfe9a commit af887d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/run-make-support/src/rustc.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ impl Rustc {
128128
self
129129
}
130130

131-
/// Specify target triple.
131+
/// Specify the target triple, or a path to a custom target json spec file.
132132
pub fn target(&mut self, target: &str) -> &mut Self {
133-
assert!(!target.contains(char::is_whitespace), "target triple cannot contain spaces");
134133
self.cmd.arg(format!("--target={target}"));
135134
self
136135
}

0 commit comments

Comments
 (0)