Skip to content

Commit 8027413

Browse files
authored
Fix setup for aarch64-unknown-linux-gnu platform (rust-lang#2864)
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 rust-lang#2863
1 parent 985021f commit 8027413

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/setup.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ fn download_url() -> String {
194194
fn fail_if_unsupported_target() -> Result<()> {
195195
// This is basically going to be reduced to a compile-time constant
196196
match TARGET {
197-
"x86_64-unknown-linux-gnu" | "x86_64-apple-darwin" | "aarch64-apple-darwin" => Ok(()),
197+
"x86_64-unknown-linux-gnu"
198+
| "x86_64-apple-darwin"
199+
| "aarch64-unknown-linux-gnu"
200+
| "aarch64-apple-darwin" => Ok(()),
198201
_ => bail!("Kani does not support this platform (Rust target {})", TARGET),
199202
}
200203
}

0 commit comments

Comments
 (0)