From 8f3cb140128c0c5e650f8af65b94e88785e51651 Mon Sep 17 00:00:00 2001 From: Bruce Irschick Date: Thu, 16 Apr 2026 15:18:58 -0700 Subject: [PATCH] feat: remove -s option build option to include symbols in Golang artifacts --- adbc_drivers_dev/make.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adbc_drivers_dev/make.py b/adbc_drivers_dev/make.py index ca1e59d..7943f9f 100644 --- a/adbc_drivers_dev/make.py +++ b/adbc_drivers_dev/make.py @@ -283,7 +283,8 @@ def build_go( prop = "github.com/adbc-drivers/driverbase-go/driverbase.infoDriverVersion" ldflags = " ".join( [ - "-s", + # Don't exclude symbols (-s) so panics will have symbol information + # This will exclude DWARF debug tables (-w). "-w", f"-X {prop}={version}", ]