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.
1 parent 029e066 commit 5159e8cCopy full SHA for 5159e8c
2 files changed
orion/buck/run.rs
@@ -200,6 +200,8 @@ pub fn targets_arguments() -> &'static [&'static str] {
200
&[
201
"targets",
202
"//...",
203
+ "--target-platforms",
204
+ "prelude//platforms:default",
205
"--streaming",
206
"--keep-going",
207
"--no-cache",
orion/src/buck_controller.rs
@@ -689,6 +689,9 @@ pub async fn build(
689
.args(&targets)
690
.arg("--target-platforms")
691
.arg("prelude//platforms:default")
692
+ // Avoid failing the whole build when a target is explicitly incompatible
693
+ // with the selected platform (e.g., macOS-only crates on Linux builders).
694
+ .arg("--skip-incompatible-targets")
695
.arg("--verbose=2")
696
.current_dir(mount_point)
697
.stdout(Stdio::piped())
0 commit comments