Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 444 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 444 Bytes

C++ GO interop

POC repo for examining calling go code from c++

Resources

Running the example

Manually

  1. Build the go library via:
$ go build -buildmode=c-archive -o lib.a lib.go
  1. Build and run the c++ entrypoint with
$ g++ -Wall main.cpp lib.a -o main && ./main

Via make

make example