diff options
author | Damian Gryski <[email protected]> | 2023-10-19 23:00:54 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-01-31 17:51:55 +0100 |
commit | 2867da164dc6352ce1165d5a9e87103a4d8b74aa (patch) | |
tree | 52bb6639d31e7965ae0c0cb6c91b24f27288cc4d /builder | |
parent | 7b8ae2d6b62bf2bc76b8529147d24137df6ff8ec (diff) | |
download | tinygo-2867da164dc6352ce1165d5a9e87103a4d8b74aa.tar.gz tinygo-2867da164dc6352ce1165d5a9e87103a4d8b74aa.zip |
Allow larger systems to have a larger max stack alloc
Fixes #3331
Diffstat (limited to 'builder')
-rw-r--r-- | builder/build.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builder/build.go b/builder/build.go index 5fc6f44ee..b9965c1e8 100644 --- a/builder/build.go +++ b/builder/build.go @@ -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 } |