diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-04-15 19:45:01 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-04-15 19:47:38 +0000 |
| commit | af887d3c42e6d2a2885f846ba0a67c052743fa7a (patch) | |
| tree | 34c50e5a11c5cc24dfcbb346c9005ff00bdddc96 | |
| parent | 8acfe9a1380f73fade8dfe35aa054b3b6870faee (diff) | |
mention json target specs in `run_make_support`
| -rw-r--r-- | src/tools/run-make-support/src/rustc.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/run-make-support/src/rustc.rs b/src/tools/run-make-support/src/rustc.rs index 88e409a588a..9bf41c6e2e9 100644 --- a/src/tools/run-make-support/src/rustc.rs +++ b/src/tools/run-make-support/src/rustc.rs @@ -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 } |
