compiler: use wasm for tests

The next commit will change the implementation of func values on Linux
as a result of switching to a task-based scheduler. To keep the
compiler/testdata/func.go test working as expected, switch to
WebAssembly tests.
This commit is contained in:
Ayke van Laethem
2021-05-05 15:07:39 +02:00
committed by Ron Evans
parent 8cd2a462b9
commit 3b24fedf92
8 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func TestCompiler(t *testing.T) {
t.Skip("compiler tests require LLVM 11 or above, got LLVM ", llvm.Version)
}
target, err := compileopts.LoadTarget("i686--linux")
target, err := compileopts.LoadTarget("wasm")
if err != nil {
t.Fatal("failed to load target:", err)
}