Skip to content

Commit 77742f4

Browse files
committed
dev: use nolintonbuild for cross-builds
The `nogo` doesn't help much and slows us down in this case. Epic: none Release note: None
1 parent 9ecb09a commit 77742f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88
set -euo pipefail
99

1010
# Bump this counter to force rebuilding `dev` on all machines.
11-
DEV_VERSION=104
11+
DEV_VERSION=105
1212

1313
THIS_DIR=$(cd "$(dirname "$0")" && pwd)
1414
BINARY_DIR=$THIS_DIR/bin/dev-versions

pkg/cmd/dev/build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (d *dev) crossBuild(
184184
volume string,
185185
dockerArgs []string,
186186
) error {
187-
bazelArgs = append(bazelArgs, fmt.Sprintf("--config=%s", crossConfig), "--config=ci", "-c", "opt")
187+
bazelArgs = append(bazelArgs, fmt.Sprintf("--config=%s", crossConfig), "--config=nolintonbuild", "-c", "opt")
188188
configArgs := getConfigArgs(bazelArgs)
189189
dockerArgs, err := d.getDockerRunArgs(ctx, volume, false, dockerArgs)
190190
if err != nil {

0 commit comments

Comments
 (0)