From 41fef76da29922ac01ca702dae055418b0c0a4a2 Mon Sep 17 00:00:00 2001 From: abdul124 Date: Fri, 19 Jul 2024 10:26:51 +0800 Subject: [PATCH] Update libcortex_a9/src/lib.rs --- libcortex_a9/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcortex_a9/src/lib.rs b/libcortex_a9/src/lib.rs index 2f341d3..7c9acd3 100644 --- a/libcortex_a9/src/lib.rs +++ b/libcortex_a9/src/lib.rs @@ -1,7 +1,7 @@ #![no_std] #![feature(llvm_asm, global_asm)] #![feature(never_type)] -#![feature(const_fn)] +#![cfg_attr(not(feature = "const_fn"), const_fn)] extern crate alloc;