From b586a48ab44a413b52b6bd48d55e87d95241e2e0 Mon Sep 17 00:00:00 2001 From: Stefan Buys <22056509+StefanB7@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:59:12 +0200 Subject: [PATCH] Adds xtensa arch to build script. Adds the xtensa arch to the build script. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index dd38fb0..fce47b1 100644 --- a/build.rs +++ b/build.rs @@ -82,7 +82,7 @@ fn main() -> Result<(), Box> { #[allow(clippy::match_single_binding, clippy::single_match)] match tgt_arch { "armv5te" | "mips" | "mipsel" | "powerpc" | "riscv32imac" | "thumbv7em" | "thumbv7m" - | "thumbv8m.base" | "thumbv8m.main" | "armebv7r" | "armv7r" => atomics.has_64 = false, + | "thumbv8m.base" | "thumbv8m.main" | "armebv7r" | "armv7r" | "xtensa" => atomics.has_64 = false, // These ARMv7 targets have 32-bit pointers and 64-bit atomics. "armv7" | "armv7a" | "armv7s" => atomics.has_64 = true, // "riscv32imc-unknown-none-elf" and "riscv32imac-unknown-none-elf" are