Allow larger systems to have a larger max stack alloc

Fixes #3331
This commit is contained in:
Damian Gryski
2023-10-19 23:00:54 -07:00
committed by Ron Evans
parent 7b8ae2d6b6
commit 2867da164d
6 changed files with 19 additions and 15 deletions
+1
View File
@@ -197,6 +197,7 @@ func Build(pkgName, outpath, tmpdir string, config *compileopts.Config) (BuildRe
Scheduler: config.Scheduler(),
AutomaticStackSize: config.AutomaticStackSize(),
DefaultStackSize: config.StackSize(),
MaxStackAlloc: config.MaxStackAlloc(),
NeedsStackObjects: config.NeedsStackObjects(),
Debug: !config.Options.SkipDWARF, // emit DWARF except when -internal-nodwarf is passed
}