Skip to content

Commit ae348b2

Browse files
committed
lang-support: update for TinyGo v0.15.0 release
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 4a89d06 commit ae348b2

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

content/lang-support/stdlib.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ sync/atomic | <span style="color: green">✔</span> yes |
138138
syscall | <span style="color: green">✔</span> yes |
139139
syscall/js | <span style="color: green">✔</span> yes |
140140
testing | <span style="color: green">✔</span> yes |
141-
testing/iotest | [<span style="color: red">✗</span> no](#testing-iotest) |
141+
testing/iotest | <span style="color: green">✔</span> yes |
142142
testing/quick | [<span style="color: red">✗</span> no](#testing-quick) |
143143
text/scanner | <span style="color: green">✔</span> yes |
144144
text/tabwriter | <span style="color: green">✔</span> yes |
@@ -221,6 +221,10 @@ The compiler gave the following error when this package was imported:
221221

222222
<pre># encoding/asn1
223223
encoding/asn1/<init>: interp: unknown GEP
224+
225+
traceback:
226+
encoding/asn1/<init>:
227+
%12 = getelementptr inbounds { %"encoding/asn1.BitString" }, { %"encoding/asn1.BitString" }* %11, i32 0, i32 0, !dbg !1934
224228
</pre>
225229

226230

@@ -248,6 +252,8 @@ The compiler gave the following error when this package was imported:
248252
/home/ron/.gvm/gos/go1.15/src/math/big/nat.go:74:11: interp: unknown GEP
249253

250254
traceback:
255+
/home/ron/.gvm/gos/go1.15/src/math/big/nat.go:74:11:
256+
%16 = getelementptr inbounds i32, i32* %4, i32 0, !dbg !1742
251257
/home/ron/.gvm/gos/go1.15/src/math/big/nat.go:84:19:
252258
%9 = call { i32*, i32, i32 } @"(math/big.nat).setWord"(i32* %6, i32 %7, i32 %8, i32 %3, i8* undef, i8* undef), !dbg !1749
253259
/home/ron/.gvm/gos/go1.15/src/math/big/int.go:55:25:
@@ -337,6 +343,10 @@ The compiler gave the following error when this package was imported:
337343

338344
<pre># encoding/asn1
339345
encoding/asn1/<init>: interp: unknown GEP
346+
347+
traceback:
348+
encoding/asn1/<init>:
349+
%12 = getelementptr inbounds { %"encoding/asn1.BitString" }, { %"encoding/asn1.BitString" }* %11, i32 0, i32 0, !dbg !1837
340350
</pre>
341351

342352

@@ -492,22 +502,19 @@ This package cannot be imported because the following dependencies cannot be com
492502

493503
The compiler gave the following error when this package was imported:
494504

495-
<pre>panic: interp: load from a bitcast
496-
497-
goroutine 1 [running]:
498-
github.com/tinygo-org/tinygo/interp.(*LocalValue).Load(0xc00b2a3010, 0xc00b2a3010)
499-
/home/ron/Development/tinygo/tinygo/interp/values.go:61 +0x226
500-
github.com/tinygo-org/tinygo/interp.(*LocalValue).Load(0xc00b2a3000, 0x7f040000001d)
501-
/home/ron/Development/tinygo/tinygo/interp/values.go:58 +0x135
502-
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc0092349b0, 0x7f0434e8cd00, 0x7f0434e8c870, 0xc00b2a4970, 0xc, 0x0, 0x0, 0xc00b205600, 0x1, 0x1, ...)
503-
/home/ron/Development/tinygo/tinygo/interp/frame.go:98 +0xd785
504-
github.com/tinygo-org/tinygo/interp.(*evalPackage).function(0xc0092374e0, 0x7f0428022488, 0xc007db5800, 0x9, 0x10, 0xc00b2a4970, 0xc, 0x10, 0xc00b2a2560, 0x0)
505-
/home/ron/Development/tinygo/tinygo/interp/interp.go:113 +0x249
506-
github.com/tinygo-org/tinygo/interp.(*frame).evalBasicBlock(0xc009235768, 0x7f0434ef43d0, 0x7f0434ef4040, 0xc00b29b9b8, 0x8, 0x0, 0x0, 0xc00b205458, 0x1, 0x1, ...)
507-
/home/ron/Development/tinygo/tinygo/interp/frame.go:570 +0x6c7e
508-
github.com/tinygo-org/tinygo/interp.(*evalPackage).function(0xc0092374e0, 0x7f0428023338, 0xc007f17880, 0x7, 0x8, 0xc00b29b9b8, 0x8, 0x8, 0xc00b289c40, 0x0)
509-
/home/ron/Development/tinygo/tinygo/interp/interp.go:113 +0x249
510-
[...more lines following...]</pre>
505+
<pre># go/types
506+
/home/ron/Development/tinygo/tinygo/src/runtime/hashmap.go:203:21: interp: load from a bitcast
507+
508+
traceback:
509+
/home/ron/Development/tinygo/tinygo/src/runtime/hashmap.go:203:21:
510+
%83 = load i8, i8* %82, !dbg !2170
511+
/home/ron/Development/tinygo/tinygo/src/runtime/hashmap.go:335:19:
512+
%13 = call i1 @runtime.hashmapGet(%runtime.hashmap* %m, i8* %12, i8* %value, i32 %valueSize, i32 %11, i8* undef, i32 ptrtoint (%runtime.funcValueWithSignature* @"runtime.hashmapStringEqual$withSignature" to i32), i8* undef, i8* undef), !dbg !2059
513+
/home/ron/.gvm/gos/go1.15/src/go/types/sizes.go:184:6:
514+
%13 = call i1 @runtime.hashmapStringGet(%runtime.hashmap* %9, i8* %11, i32 %12, i8* %hashmap.value.bitcast, i32 4, i8* undef, i8* null), !dbg !2055
515+
go/types/<init>:202:24:
516+
%359 = call %runtime._interface @"go/types.SizesFor"(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @"go/types.init$string.1271", i32 0, i32 0), i32 2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @"go/types.init$string.1272", i32 0, i32 0), i32 5, i8* undef, i8* undef), !dbg !2199
517+
</pre>
511518

512519

513520

@@ -857,19 +864,6 @@ The compiler gave the following error when this package was imported:
857864

858865

859866

860-
861-
862-
863-
## testing/iotest
864-
865-
866-
The compiler gave the following error when this package was imported:
867-
868-
<pre># testing/iotest
869-
../../../../../tmp/tinygo-test.go:2:8: cannot find package "testing/iotest" in any of:
870-
/home/ron/.cache/tinygo/goroot-go1.15-7afa574ac889bbfe1ced1698a5a8cef44acba21596cd94a64313a8cd1019f95d/src/testing/iotest (from $GOROOT)
871-
/home/ron/.gvm/pkgsets/go1.15/global/src/testing/iotest (from $GOPATH)
872-
</pre>
873867

874868

875869

@@ -881,9 +875,15 @@ The compiler gave the following error when this package was imported:
881875
The compiler gave the following error when this package was imported:
882876

883877
<pre># testing/quick
884-
../../../../../tmp/tinygo-test.go:2:8: cannot find package "testing/quick" in any of:
885-
/home/ron/.cache/tinygo/goroot-go1.15-7afa574ac889bbfe1ced1698a5a8cef44acba21596cd94a64313a8cd1019f95d/src/testing/quick (from $GOROOT)
886-
/home/ron/.gvm/pkgsets/go1.15/global/src/testing/quick (from $GOPATH)
878+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:273:11: fType.NumOut undefined (type reflect.Type has no field or method NumOut)
879+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:276:11: fType.Out undefined (type reflect.Type has no field or method Out)
880+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:280:43: fType.NumIn undefined (type reflect.Type has no field or method NumIn)
881+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:290:12: fVal.Call undefined (type reflect.Value has no field or method Call)
882+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:320:43: xType.NumIn undefined (type reflect.Type has no field or method NumIn)
883+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:330:26: x.Call undefined (type reflect.Value has no field or method Call)
884+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:331:26: y.Call undefined (type reflect.Value has no field or method Call)
885+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:351:25: f.In undefined (type reflect.Type has no field or method In)
886+
/home/ron/.gvm/gos/go1.15/src/testing/quick/quick.go:353:95: f.In undefined (type reflect.Type has no field or method In)
887887
</pre>
888888

889889

0 commit comments

Comments
 (0)