haku2: make build.rs spit out unknown targets
This commit is contained in:
parent
48d03699bd
commit
354d49d927
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
|
||||
let target = match &target[..] {
|
||||
"x86_64-unknown-linux-gnu" => "x86_64-linux-gnu",
|
||||
_ => &target,
|
||||
other => {
|
||||
eprintln!("warning: unknown target {other:?}");
|
||||
&target
|
||||
}
|
||||
};
|
||||
|
||||
let output = Command::new("zig")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue