jenkinsfile: try to fix target mapping lookup

This commit is contained in:
Nils Andreas Svee committed 2022-11-27 14:37:34 +01:00
1 parent b959f4f4b7
commit cc3ea9cf21
1 file changed
+2 -2
Vendored
+2 -2
View File
@@ -1,4 +1,5 @@
def targetMapping = [
def getGCCTarget(rust_target) {
targetMapping = [
"mips-unknown-linux-musl": "mips-linux-muslsf",
"mips64-unknown-linux-muslabi64": "mips64-linux-musl",
"mips64el-unknown-linux-muslabi64": "mips64el-linux-musl",
@@ -6,7 +7,6 @@ def targetMapping = [
"x86_64-unknown-linux-musl": "x86_64-linux-musl"
]
def getGCCTarget(rust_target) {
return targetMapping[rust_target]
}