mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-30 17:20:03 +00:00
Fix target::linux::parse_abi
: Remove const
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
44b1bdbfe5
commit
1df135f4c0
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue