aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build
diff options
context:
space:
mode:
authorLaura Peskin <pesk@google.com>2025-11-20 11:30:05 -0800
committerAleksandr Nogikh <nogikh@google.com>2025-11-21 08:59:32 +0000
commit52ed5c960e0415439ac0b492e5f327d6e28b1d41 (patch)
tree475b677b451444fa0d10092370708f8f5a40ad1a /pkg/build
parent4d2a94c0154cc97761c0161d5c259ec04f05c7bd (diff)
pkg/build: build starnix in debug mode
Some debug features, like dynamic mutex cycle detection, are no longer included by the default build config. Add the --debug flag to fx set in order to turn these features back on.
Diffstat (limited to 'pkg/build')
-rw-r--r--pkg/build/starnix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/build/starnix.go b/pkg/build/starnix.go
index a53776c2a..bd7fa0612 100644
--- a/pkg/build/starnix.go
+++ b/pkg/build/starnix.go
@@ -74,6 +74,7 @@ func (st starnix) build(params Params) (ImageDetails, error) {
params.KernelDir,
"scripts/fx", "--dir", buildSubdir,
"set", product,
+ "--debug",
"--assembly-override", fmt.Sprintf("//products/workbench/*=//local:%s", overrideName),
); err != nil {
return ImageDetails{}, err