Fix target::linux::parse_abi: Remove const

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-07 00:20:52 +10:00
parent 44b1bdbfe5
commit 1df135f4c0
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -119,7 +119,7 @@ mod linux {
} }
} }
const fn parse_abi() -> &'static str { fn parse_abi() -> &'static str {
if TARGET.ends_with("abi64") { if TARGET.ends_with("abi64") {
"abi64" "abi64"
} else if TARGET.ends_with("eabi") { } else if TARGET.ends_with("eabi") {