We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41112d2 commit 16521a9Copy full SHA for 16521a9
go/cpossum/c-possum.go
@@ -1,9 +1,7 @@
1
package possumC
2
3
/*
4
-// Not sure how to statically link just this library, so for now it's preferred to use CGO_LDFLAGS
5
-// to do your own thing.
6
-//#cgo LDFLAGS: -lpossum
+#cgo LDFLAGS: -L${SRCDIR}/../../target/debug -lpossum
7
#include "possum.h"
8
*/
9
import "C"
go/justfile
@@ -1,4 +1,4 @@
test:
cargo build
make -C ..
- CGO_LDFLAGS=../target/debug/libpossum.a go test -race ./...
+ go test -race ./...
0 commit comments