Skip to content

Commit

Permalink
ci: Test armeb-unknown-linux-gnueabi
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 10, 2023
1 parent fd1fe1c commit 25f2e41
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
target: armv7-unknown-linux-gnueabihf
- rust: nightly
target: armv7-unknown-linux-gnueabihf
- rust: nightly
target: armeb-unknown-linux-gnueabi
- rust: '1.59'
target: i586-unknown-linux-gnu
- rust: stable
Expand Down
2 changes: 1 addition & 1 deletion src/arch/armv8.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ARMv8 AArch32 (little endian)
// ARMv8 AArch32
//
// LLVM doesn't generate CLREX for ARMv8-M Baseline, but it actually supports CLREX.
// https://developer.arm.com/documentation/dui1095/a/The-Cortex-M23-Instruction-Set/Memory-access-instructions?lang=en
Expand Down
26 changes: 10 additions & 16 deletions src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,20 @@ mod aarch64;
#[cfg(target_arch = "arm")]
#[cfg(all(
any(target_feature = "v6", atomic_maybe_uninit_target_feature = "v6"),
not(all(
any(
target_feature = "v8",
atomic_maybe_uninit_target_feature = "v8",
target_feature = "v8m",
atomic_maybe_uninit_target_feature = "v8m",
),
target_endian = "little",
)),
))]
mod arm;
#[cfg(target_arch = "arm")]
#[cfg(all(
any(
not(any(
target_feature = "v8",
atomic_maybe_uninit_target_feature = "v8",
target_feature = "v8m",
atomic_maybe_uninit_target_feature = "v8m",
),
target_endian = "little",
)),
))]
mod arm;
#[cfg(target_arch = "arm")]
#[cfg(any(
target_feature = "v8",
atomic_maybe_uninit_target_feature = "v8",
target_feature = "v8m",
atomic_maybe_uninit_target_feature = "v8m",
))]
mod armv8;
#[cfg(any(target_arch = "mips", target_arch = "mips64"))]
Expand Down

0 comments on commit 25f2e41

Please sign in to comment.