From 3f670fde36df1b7fa38b8a5797db7e61f492497d Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 19 Jan 2017 14:25:06 +0900 Subject: add doc for go 1.6 --- Makefile | 3 +++ readme.md | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 7d5e8b0..15c18eb 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,9 @@ test: $(TEST_EXE) run_go: go/main.go $(BLS_LIB) $(BLS_IF_LIB) cd go && go run main.go +run_uncheck_go: go/main.go $(BLS_LIB) $(BLS_IF_LIB) + cd go && env GODEBUG=cgocheck=0 go run main.go + clean: $(RM) $(BLS_LIB) $(OBJ_DIR)/* $(EXE_DIR)/*.exe $(GEN_EXE) $(ASM_SRC) $(ASM_OBJ) $(LIB_OBJ) $(LLVM_SRC) $(BLS_IF_LIB) diff --git a/readme.md b/readme.md index e11f981..1df53e6 100644 --- a/readme.md +++ b/readme.md @@ -111,6 +111,16 @@ bool Sign::verify(const PublicKey& pub) const; Verify a public key by pop. +# Go +``` +make run_go +``` +Go 1.6 forbits passing a Go pointer to C, then +``` +make run_uncheck_go +``` +I'll fix the issue later. + # License modified new BSD License -- cgit v1.2.3