Skip to content

Commit

Permalink
Fix setup for aarch64-unknown-linux-gnu platform (model-checking#2864)
Browse files Browse the repository at this point in the history
Fixes setup for the `aarch64-unknown-linux-gnu` platform by adding its
target triple to the list of supported targets in the setup program.

Resolves model-checking#2863
  • Loading branch information
adpaco-aws authored Nov 7, 2023
1 parent 985021f commit 8027413
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ fn download_url() -> String {
fn fail_if_unsupported_target() -> Result<()> {
// This is basically going to be reduced to a compile-time constant
match TARGET {
"x86_64-unknown-linux-gnu" | "x86_64-apple-darwin" | "aarch64-apple-darwin" => Ok(()),
"x86_64-unknown-linux-gnu"
| "x86_64-apple-darwin"
| "aarch64-unknown-linux-gnu"
| "aarch64-apple-darwin" => Ok(()),
_ => bail!("Kani does not support this platform (Rust target {})", TARGET),
}
}
Expand Down

0 comments on commit 8027413

Please sign in to comment.