Enable wasm pointer tracking for gc=none.

This commit is contained in:
Anuraag Agrawal
2022-11-08 17:05:24 +09:00
committed by Ron Evans
parent bb5050a50d
commit 0b3a7280fa
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -105,6 +105,8 @@ 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" {