build: -pkg flag to specify package name (#150)

Allows override in the case where package name is incorrectly deduced from directory name.

Fixes #68
Fixes #147
This commit is contained in:
Michael McLoughlin
2020-05-23 12:07:32 -07:00
committed by GitHub
parent fa88270b07
commit 4439b6b2c0
6 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
// Code generated by command: go run asm.go -pkg custom -out issue69.s -stubs stub.go. DO NOT EDIT.
#include "textflag.h"
// func Issue68() uint64
TEXT ·Issue68(SB), NOSPLIT, $0-8
MOVQ $0x00000044, AX
MOVQ AX, ret+0(FP)
RET