From 38b14706e20117ed369dbb00e4099c54ed09b7dc Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Fri, 17 Dec 2021 13:56:32 -0800 Subject: [PATCH] internal/task: fix two missed instances of extalloc --- src/internal/task/gc_stack_chain.go | 6 ++---- src/internal/task/gc_stack_noop.go | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/internal/task/gc_stack_chain.go b/src/internal/task/gc_stack_chain.go index d3e400d3..4c8be170 100644 --- a/src/internal/task/gc_stack_chain.go +++ b/src/internal/task/gc_stack_chain.go @@ -1,7 +1,5 @@ -//go:build (gc.conservative || gc.extalloc) && tinygo.wasm && !scheduler.coroutines -// +build gc.conservative gc.extalloc -// +build tinygo.wasm -// +build !scheduler.coroutines +//go:build gc.conservative && tinygo.wasm && !scheduler.coroutines +// +build gc.conservative,tinygo.wasm,!scheduler.coroutines package task diff --git a/src/internal/task/gc_stack_noop.go b/src/internal/task/gc_stack_noop.go index 63674805..270a5a4d 100644 --- a/src/internal/task/gc_stack_noop.go +++ b/src/internal/task/gc_stack_noop.go @@ -1,5 +1,5 @@ -//go:build (!gc.conservative && !gc.extalloc) || !tinygo.wasm || scheduler.coroutines -// +build !gc.conservative,!gc.extalloc !tinygo.wasm scheduler.coroutines +//go:build !gc.conservative || !tinygo.wasm || scheduler.coroutines +// +build !gc.conservative !tinygo.wasm scheduler.coroutines package task