fix: riscv rust target is invalid
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
1 parent
7ae32e99e0
commit
371bcf96cc
1 file changed
+4
-2
+4
-2
@@ -4,8 +4,10 @@ import subprocess
|
||||
from . import arch, make, pkgcomposer, logging
|
||||
|
||||
|
||||
def _rust_triple(semios: str) -> str:
|
||||
return semios.replace("-semios-linux", "-unknown-linux-musl")
|
||||
def _rust_triple(s: str) -> str:
|
||||
s = s.replace("-semios-linux", "-unknown-linux-musl")
|
||||
s = s.replace("riscv64", "riscv64gc")
|
||||
return s
|
||||
|
||||
|
||||
def build(rem: list[str] = []):
|
||||
|
||||
Reference in new issue
Block a user