aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder
diff options
context:
space:
mode:
authorJosé Carlos Chávez <[email protected]>2022-06-07 00:39:12 +0200
committerRon Evans <[email protected]>2022-06-11 12:11:08 +0200
commita07287d3c670b516685c58bb7e7be159253b5372 (patch)
treec68e8b30645fe47e9673e98571bf008bc3886265 /builder
parent1b2e764835fb5278de144caf059cb094bad4db23 (diff)
downloadtinygo-a07287d3c670b516685c58bb7e7be159253b5372.tar.gz
tinygo-a07287d3c670b516685c58bb7e7be159253b5372.zip
fix: fixes tinygo test ./... syntax.
Diffstat (limited to 'builder')
-rw-r--r--builder/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/build.go b/builder/build.go
index d0e92d7c9..cb9368572 100644
--- a/builder/build.go
+++ b/builder/build.go
@@ -193,7 +193,7 @@ func Build(pkgName, outpath string, config *compileopts.Config, action func(Buil
defer machine.Dispose()
// Load entire program AST into memory.
- lprogram, err := loader.Load(config, []string{pkgName}, config.ClangHeaders, types.Config{
+ lprogram, err := loader.Load(config, pkgName, config.ClangHeaders, types.Config{
Sizes: compiler.Sizes(machine),
})
if err != nil {