jenkinsfile: switch to replaceall
This commit is contained in:
1 parent
e6ece9493d
commit
610d8bbe98
1 file changed
+1
-1
Vendored
+1
-1
@@ -16,7 +16,7 @@ def getGCCTarget(rust_target) {
|
|||||||
|
|
||||||
// CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER
|
// CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER
|
||||||
def getLinkerEnv(target) {
|
def getLinkerEnv(target) {
|
||||||
return 'CARGO_TARGET_' + target.replace('-', '_').toUpperCase() + '_LINKER'
|
return 'CARGO_TARGET_' + target.replaceAll('-', '_').toUpperCase() + '_LINKER'
|
||||||
}
|
}
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|||||||
Reference in new issue
Block a user