From b87c0c33bf08ce30c61375a6f768b8c93c8c8d9d Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Tue, 21 Mar 2023 17:02:26 +0100 Subject: [PATCH] bazel: use pure go implementation of netdns for all builds (with or without cgo support) (#1476) --- .bazelrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 6afd821aa..96c1e3a2f 100644 --- a/.bazelrc +++ b/.bazelrc @@ -20,6 +20,9 @@ build --strip=always # set build mode to opt by default (better reproducibility and performance) build --compilation_mode=opt +# use pure go implementation of netdns +build --define=gotags=netgo + # enable tpm simulator for tests test --//bazel/settings:tpm_simulator @@ -48,4 +51,4 @@ build:remote_cache --experimental_remote_build_event_upload=minimal build:remote_cache --experimental_remote_cache_compression build:remote_cache_readonly --noremote_upload_local_results # Uploads logs & artifacts without writing to cache -try-import .bazeloverwriterc +try-import .bazeloverwriterc