You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I don't know enough about this toolchain, but including it as a module and registering Zig toolchains has forced normally statically linked Go targets to become dynamically linked.
Before:
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, for GNU/Linux 3.7.0, Go BuildID=redacted, BuildID[sha1]=a3055087e190f1087358decf3ff32c494c13fd58, stripped
After:
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 2.0.0, Go BuildID=redacted, stripped
Using Bazel:
go_binary(
name = ...,
data = ...,
embed = ...,
static = "on",
visibility = ["//visibility:public"],
)
Is there a way to maintain for other targets the correct behavior? This an only Go code target.
The text was updated successfully, but these errors were encountered:
The description pretty much says it all.
Maybe I don't know enough about this toolchain, but including it as a module and registering Zig toolchains has forced normally statically linked Go targets to become dynamically linked.
Before:
After:
Using Bazel:
Is there a way to maintain for other targets the correct behavior? This an only Go code target.
The text was updated successfully, but these errors were encountered: