all: add flag for setting the goroutine stack size

This is helpful in some cases where the default stack size isn't big
enough.
This commit is contained in:
Ayke van Laethem
2022-09-14 14:09:46 +02:00
committed by Ron Evans
parent bd1d93b705
commit 5f96d2b784
9 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func TestCompiler(t *testing.T) {
RelocationModel: config.RelocationModel(),
Scheduler: config.Scheduler(),
AutomaticStackSize: config.AutomaticStackSize(),
DefaultStackSize: config.Target.DefaultStackSize,
DefaultStackSize: config.StackSize(),
NeedsStackObjects: config.NeedsStackObjects(),
}
machine, err := NewTargetMachine(compilerConfig)