Skip to content

Commit ecda88b

Browse files
committed
make,builder: incorporate feedback from code review on Go 1.15 update
Signed-off-by: deadprogram <[email protected]>
1 parent 7731519 commit ecda88b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ endif
346346
@$(MD5SUM) test.elf
347347

348348
wasmtest:
349-
$(GO) test -buildmode exe ./tests/wasm
349+
$(GO) test ./tests/wasm
350350

351351
build/release: tinygo gen-device wasi-libc
352352
@mkdir -p build/release/tinygo/bin

builder/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
2626
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
2727
}
2828
if major != 1 || minor < 11 || minor > 15 {
29-
return nil, fmt.Errorf("requires go version 1.11 thru 1.15, got go%d.%d", major, minor)
29+
return nil, fmt.Errorf("requires go version 1.11 through 1.15, got go%d.%d", major, minor)
3030
}
3131
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))
3232
return &compileopts.Config{

0 commit comments

Comments
 (0)