support std imports

This commit is contained in:
Daniel Martí
2019-12-08 20:07:22 +00:00
parent 1fe0351517
commit 766bb47b82
3 changed files with 37 additions and 7 deletions
+2
View File
@@ -32,8 +32,10 @@ exec readelf --section-headers main
! grep 'globalFunc' main
# Finally, check that the 'garble build' shortcut works.
# cp main main_old
garble build main.go
! grep 'globalVar' main
# cmp main main_old
-- main.go --
package main