aboutsummaryrefslogtreecommitdiffhomepage
path: root/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/main_test.go b/main_test.go
index 02f183637..364ec107c 100644
--- a/main_test.go
+++ b/main_test.go
@@ -115,14 +115,14 @@ func runTest(path, tmpdir string, target string, t *testing.T) {
}
// Build the test binary.
- config := &BuildConfig{
- opt: "z",
- printIR: false,
- dumpSSA: false,
- verifyIR: true,
- debug: false,
- printSizes: "",
- wasmAbi: "js",
+ config := &compileopts.Options{
+ Opt: "z",
+ PrintIR: false,
+ DumpSSA: false,
+ VerifyIR: true,
+ Debug: false,
+ PrintSizes: "",
+ WasmAbi: "js",
}
binary := filepath.Join(tmpdir, "test")
err = Build("./"+path, binary, target, config)