Skip to content

Commit 5c31980

Browse files
committed
Update build script for armeb-unknown-linux-gnueabi
1 parent b87b0e6 commit 5c31980

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
@@ -160,6 +160,9 @@ fn main() {
160160
// arm-linux-androideabi is v5te
161161
// https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/arm_linux_androideabi.rs#L11-L12
162162
_ if target == "arm-linux-androideabi" => subarch = "v5te",
163+
// armeb-unknown-linux-gnueabi is v8
164+
// https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/armeb_unknown_linux_gnueabi.rs#L12
165+
_ if target == "armeb-unknown-linux-gnueabi" => subarch = "v8",
163166
// v6 targets other than v6m don't have *class target feature.
164167
"" | "v6" | "v6k" => subarch = "v6",
165168
// Other targets don't have *class target feature.

0 commit comments

Comments
 (0)