diff options
author | Dan Kegel <[email protected]> | 2022-01-17 11:39:01 -0800 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-01-18 14:38:13 +0100 |
commit | 2c7ea98ccf6f747f4b5abf2a5bb6c052f72aff7f (patch) | |
tree | 3c4a27cc853a6becdd1e59df6178c932ffa61554 /tests/wasm/fmt_test.go | |
parent | 57b8f7e6671505266141726e39296e72fee8ea34 (diff) | |
download | tinygo-2c7ea98ccf6f747f4b5abf2a5bb6c052f72aff7f.tar.gz tinygo-2c7ea98ccf6f747f4b5abf2a5bb6c052f72aff7f.zip |
runtime: add stubs for Func.FileLine and Frame.PC
With this, 'tinygo test' in github.com/pkg/errors at least compiles and passes a few tests:
$ git clone github.com/pkg/errors
$ cd errors
$ tinygo test -c
$ for a in $(go test -list Test | grep Test); do ./errors.test -test.run $a -test.v > $a.log 2>&1; done
$ grep -l PASS *.log | wc -l
19
$ grep -l FAIL *.log | wc -l
11
For https://github.com/tinygo-org/tinygo/issues/2445
Diffstat (limited to 'tests/wasm/fmt_test.go')
0 files changed, 0 insertions, 0 deletions