fix(build): try to get the env right

This commit is contained in:
Nils Andreas Svee committed 2025-05-09 02:48:22 +07:00
1 parent b9749981d0
commit 97a4bfeaba
1 file changed
+1 -3
Vendored
+1 -3
View File
@@ -3,7 +3,7 @@ def getArch(target) {
} }
def getGCCTarget(rust_target) { def getGCCTarget(rust_target) {
targetMapping = [ def targetMapping = [
"aarch64-unknown-linux-musl": "aarch64-linux-musl", "aarch64-unknown-linux-musl": "aarch64-linux-musl",
"arm-unknown-linux-musleabi": "arm-linux-musleabi", "arm-unknown-linux-musleabi": "arm-linux-musleabi",
"armv7-unknown-linux-musleabi": "armv7m-linux-musleabi", "armv7-unknown-linux-musleabi": "armv7m-linux-musleabi",
@@ -48,7 +48,6 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
withEnv(["${LINKER_ENV_KEY}=${CC}", "RUSTFLAGS=-C target-feature=+crt-static"]) {
sh """ sh """
printenv printenv
cargo +nightly build \ cargo +nightly build \
@@ -58,7 +57,6 @@ pipeline {
""" """
} }
} }
}
stage('Archive artifact') { stage('Archive artifact') {
steps { steps {