Skip to content

Commit 870c1c8

Browse files
committed
Update build script for armeb-unknown-linux-gnueabi
1 parent e8762c9 commit 870c1c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ fn main() {
246246
// arm-linux-androideabi is v5te
247247
// https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/arm_linux_androideabi.rs#L11-L12
248248
_ if target == "arm-linux-androideabi" => subarch = "v5te",
249+
// armeb-unknown-linux-gnueabi is v8
250+
// https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/armeb_unknown_linux_gnueabi.rs#L12
251+
_ if target == "armeb-unknown-linux-gnueabi" => subarch = "v8",
249252
// v6 targets other than v6m don't have *class target feature.
250253
"" | "v6" | "v6k" => subarch = "v6",
251254
// Other targets don't have *class target feature.

0 commit comments

Comments
 (0)