From 1df135f4c0b1de0f755e99e01994f68ca8c95f0c Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 7 Jun 2022 00:20:52 +1000 Subject: [PATCH] Fix `target::linux::parse_abi`: Remove `const` Signed-off-by: Jiahao XU --- src/target.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target.rs b/src/target.rs index 0794546f..d4456244 100644 --- a/src/target.rs +++ b/src/target.rs @@ -119,7 +119,7 @@ mod linux { } } - const fn parse_abi() -> &'static str { + fn parse_abi() -> &'static str { if TARGET.ends_with("abi64") { "abi64" } else if TARGET.ends_with("eabi") {