diff options
author | Ayke van Laethem <[email protected]> | 2021-01-09 01:11:36 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-01-10 21:08:52 +0100 |
commit | da0161d6ab29e3132153a30b10d4d12da9d9c8c6 (patch) | |
tree | 2027271a6fff4a5178eeac9332ff853c0ac5c5e8 /compileopts/options.go | |
parent | 5af4c073cd3fc2b5aec4d17ee0694dcbb1a7cbcf (diff) | |
download | tinygo-da0161d6ab29e3132153a30b10d4d12da9d9c8c6.tar.gz tinygo-da0161d6ab29e3132153a30b10d4d12da9d9c8c6.zip |
wasm: implement a growable heap
On WebAssembly it is possible to grow the heap with the memory.grow
instruction. This commit implements this feature and with that also
removes the -heap-size flag that was reportedly broken (I haven't
verified that). This should make it easier to use TinyGo for
WebAssembly, where there was no good reason to use a fixed heap size.
This commit has no effect on baremetal targets with optimizations
enabled.
Diffstat (limited to 'compileopts/options.go')
-rw-r--r-- | compileopts/options.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compileopts/options.go b/compileopts/options.go index 7948b71c6..b5526b788 100644 --- a/compileopts/options.go +++ b/compileopts/options.go @@ -30,7 +30,6 @@ type Options struct { LDFlags []string Tags string WasmAbi string - HeapSize int64 TestConfig TestConfig Programmer string } |