File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ package possumC
66// Windows system to get to the point I can actually build this, so I don't know how it works there.
77// Also cgo directives seem to use the old build constraint syntax. Why the fuck isn't this stuff
88// documented?
9- #cgo !windows,!darwin LDFLAGS: -L${SRCDIR}/../../target/debug - l:libpossum.a -lm
10- #cgo darwin windows LDFLAGS: -L${SRCDIR}/../../target/debug - lpossum
9+ #cgo !windows,!darwin LDFLAGS: -l:libpossum.a -lm
10+ #cgo darwin windows LDFLAGS: -lpossum
1111#include "possum.h"
1212*/
1313import "C"
Original file line number Diff line number Diff line change 11package possumC
22
33import (
4- qt "github.com/go-quicktest/qt"
54 "testing"
5+
6+ "github.com/go-quicktest/qt"
7+
8+ _ "github.com/anacrolix/possum/go/testlink"
69)
710
811func TestNoSuchKey (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package possum
22
33import (
44 "testing"
5+
6+ _ "github.com/anacrolix/possum/go/testlink"
57)
68
79func TestOpenClose (t * testing.T ) {
Original file line number Diff line number Diff line change 1+ package testlink
2+
3+ //#cgo LDFLAGS: -L${SRCDIR}/../../target/debug
4+ import "C"
You can’t perform that action at this time.
0 commit comments