diff options
author | Ayke van Laethem <[email protected]> | 2019-10-31 16:38:49 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-11-04 11:45:35 +0100 |
commit | 59cc9013403746957e689f3c9ff3306879de0efb (patch) | |
tree | a60643d3b330269aa1f26efc0e629ce81ec3f86d /main_test.go | |
parent | ef600965aa3e4f81466437508cf38d46c1c7f37d (diff) | |
download | tinygo-59cc9013403746957e689f3c9ff3306879de0efb.tar.gz tinygo-59cc9013403746957e689f3c9ff3306879de0efb.zip |
main: move compile options to compileopts package
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 16 |
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) |