Skip to content

Commit

Permalink
Build Puku (more) statically (#130)
Browse files Browse the repository at this point in the history
Fixes #129

Not setting static = True as that won't work well for cross compilation.
  • Loading branch information
toastwaffle authored Oct 29, 2024
1 parent d021b8f commit 8cc422a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 1.12.0
--------------
* Set `netgo` and `osusergo` tags on the Go standard library to build puku more statically and
avoid libc dependency

Version 1.11.1
-------------
* Fix a bug causing a panic when the third party directory is misconfigured
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.1
1.12.0
2 changes: 1 addition & 1 deletion cmd/puku/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ go_binary(
"//licences",
"//logging",
"//migrate",
"//options",
"//please",
"//proxy",
"//sync",
"//version",
"//watch",
"//work",
"//options",
],
)
4 changes: 4 additions & 0 deletions third_party/go/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ go_toolchain(

go_stdlib(
name = "std",
tags = [
"netgo",
"osusergo",
],
)

go_repo(
Expand Down

0 comments on commit 8cc422a

Please sign in to comment.