jenkinsfile: move rustflags to build stage

This commit is contained in:
Nils Andreas Svee committed 2022-11-27 20:52:10 +01:00
1 parent bc8138c51a
commit f2b7ff066c
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -82,7 +82,7 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
withEnv(["${LINKER_ENV_KEY}=${CC}"]) { withEnv(["${LINKER_ENV_KEY}=${CC}", "RUSTFLAGS=-C target-feature=+crt-static"]) {
sh "cargo build --release --target ${TARGET}" sh "cargo build --release --target ${TARGET}"
} }
} }