1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:26:15 -07:00

cmd/gc: use go.builtin as package prefix, not go%2ebuiltin

This matches all the other pseudo-packages.
The line was simply forgotten.

Change-Id: I278f6cbcfc883ea7efad07f99fc8c853b9b5d274
Reviewed-on: https://go-review.googlesource.com/4591
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
Russ Cox 2015-02-10 22:22:33 -05:00
parent 90965718a8
commit 7c3eeda66f

View File

@ -179,6 +179,7 @@ gcmain(int argc, char *argv[])
// pseudo-package, for scoping
builtinpkg = mkpkg(newstrlit("go.builtin"));
builtinpkg->prefix = "go.builtin"; // not go%2ebuiltin
// pseudo-package, accessed by import "unsafe"
unsafepkg = mkpkg(newstrlit("unsafe"));