aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-11-17 14:22:47 +0100
committerRon Evans <[email protected]>2022-11-17 15:50:57 +0100
commit67841207e89f9e10d0edca0b66de6427b802fded (patch)
tree2f63828a642b1e3517f7ff5917bae1dfe4090f8f /compileopts
parentd92e16e6dc288aeb7525c6d57ac276e3aab25b2c (diff)
downloadtinygo-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.go2
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" {