From ffb30392e8759323e07678f12e7f57093f73086b Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 14 Aug 2025 21:32:06 +0200 Subject: [PATCH] build: remove netgo and osusergo build tags (fixes #10251) (#10256) I added these tags as part of the big database PR, but I forget why. I think it came from an attempt at a static binary using the Go-based SQLite packages, but that's not the primary build anymore anyway. We can remove this and go back to the standard resolvers, which gives better support for primarily Windows and macOS special resolution methods... --- .github/workflows/build-syncthing.yaml | 2 +- lib/build/build.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 2f216f540..e8d36e5f0 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -26,7 +26,7 @@ env: BUILD_USER: builder BUILD_HOST: github.syncthing.net - TAGS: "netgo osusergo sqlite_omit_load_extension sqlite_dbstat" + TAGS: "sqlite_omit_load_extension sqlite_dbstat" # A note on actions and third party code... The actions under actions/ (like # `uses: actions/checkout`) are maintained by GitHub, and we need to trust diff --git a/lib/build/build.go b/lib/build/build.go index 32ee763f4..b2553b80e 100644 --- a/lib/build/build.go +++ b/lib/build/build.go @@ -49,8 +49,6 @@ var ( replaceTags = map[string]string{ "sqlite_omit_load_extension": "", "sqlite_dbstat": "", - "osusergo": "", - "netgo": "", } )