diff options
author | Ayke van Laethem <[email protected]> | 2022-11-17 14:22:47 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-11-17 15:50:57 +0100 |
commit | 67841207e89f9e10d0edca0b66de6427b802fded (patch) | |
tree | 2f63828a642b1e3517f7ff5917bae1dfe4090f8f /compileopts | |
parent | d92e16e6dc288aeb7525c6d57ac276e3aab25b2c (diff) | |
download | tinygo-67841207e89f9e10d0edca0b66de6427b802fded.tar.gz tinygo-67841207e89f9e10d0edca0b66de6427b802fded.zip |
Revert "Enable wasm pointer tracking for gc=none."
This reverts commit 0b3a7280fa7fd9cf479a6ebcf608c40280d86b9f and updates
the documentation a little bit to explain the purpose of -gc=none. (I'm
thinking about the attiny10 by the way where defaulting to -gc=none
makes sense).
Diffstat (limited to 'compileopts')
-rw-r--r-- | compileopts/config.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compileopts/config.go b/compileopts/config.go index ec297c221..657dbd092 100644 --- a/compileopts/config.go +++ b/compileopts/config.go @@ -105,8 +105,6 @@ func (c *Config) GC() string { // that can be traced by the garbage collector. func (c *Config) NeedsStackObjects() bool { switch c.GC() { - case "none": - fallthrough case "conservative": for _, tag := range c.BuildTags() { if tag == "tinygo.wasm" { |