Skip to content

Commit f097fc3

Browse files
committed
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.
1 parent 280ea30 commit f097fc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/build/starnix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ func (st starnix) build(params Params) (ImageDetails, error) {
7474
params.KernelDir,
7575
"scripts/fx", "--dir", buildSubdir,
7676
"set", product,
77+
"--debug",
7778
"--assembly-override", fmt.Sprintf("//products/workbench/*=//local:%s", overrideName),
7879
); err != nil {
7980
return ImageDetails{}, err

0 commit comments

Comments
 (0)