Skip to content

Commit 2068927

Browse files
committed
playground: Don't include unsafe in packages.
No longer needed as of gopherjs/gopherjs@f8510c9.
1 parent cfcb38d commit 2068927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/playground.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func main() {
6464
packages := make(map[string]*compiler.Archive)
6565
var pkgsToLoad map[string]struct{}
6666
importContext := &compiler.ImportContext{
67-
Packages: map[string]*types.Package{"unsafe": types.Unsafe},
67+
Packages: make(map[string]*types.Package),
6868
Import: func(path string) (*compiler.Archive, error) {
6969
if pkg, found := packages[path]; found {
7070
return pkg, nil

0 commit comments

Comments
 (0)