From a772540d92314ab3dbf5dd7b22f54dab3d7d6d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Mich=C3=A1lek?= Date: Thu, 3 Feb 2022 09:50:19 +0100 Subject: [PATCH] Enable asm_experimental_arch when compiling for xtensa --- components/rustlib/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/rustlib/src/lib.rs b/components/rustlib/src/lib.rs index a2f83e6..bfff372 100644 --- a/components/rustlib/src/lib.rs +++ b/components/rustlib/src/lib.rs @@ -1,6 +1,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![feature(asm)] +#![cfg_attr(target_arch = "xtensa", feature(asm_experimental_arch))] #[cfg(not(feature = "std"))] use core::panic::PanicInfo;