Skip to content

Commit 42eedba

Browse files
authored
purego fix (#111)
1 parent 000439e commit 42eedba

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go-fuzz-build := ${GOPATH}/bin/go-fuzz-build
1010
go-fuzz-corpus := ${GOPATH}/src/github.com/dvyukov/go-fuzz-corpus
1111
go-fuzz-dep := ${GOPATH}/src/github.com/dvyukov/go-fuzz/go-fuzz-dep
1212

13-
test: test-ascii test-json test-json-bugs test-json-1.17 test-proto test-iso8601 test-thrift
13+
test: test-ascii test-json test-json-bugs test-json-1.17 test-proto test-iso8601 test-thrift test-purego
1414

1515
test-ascii:
1616
go test -cover -race ./ascii
@@ -33,6 +33,9 @@ test-iso8601:
3333
test-thrift:
3434
go test -cover -race ./thrift
3535

36+
test-purego:
37+
go test -race -tags purego ./...
38+
3639
$(benchstat):
3740
GO111MODULE=off go get -u golang.org/x/perf/cmd/benchstat
3841

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/segmentio/encoding
22

33
go 1.14
44

5-
require github.com/segmentio/asm v1.1.0
5+
require github.com/segmentio/asm v1.1.2

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github.com/klauspost/cpuid/v2 v2.0.6 h1:dQ5ueTiftKxp0gyjKSx5+8BtPWkyQbd95m8Gys/RarI=
2-
github.com/klauspost/cpuid/v2 v2.0.6/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
3-
github.com/segmentio/asm v1.1.0 h1:fkVr8k5J4sKoFjTGVD6r1yKvDKqmvrEh3K7iyVxgBs8=
4-
github.com/segmentio/asm v1.1.0/go.mod h1:4EUJGaKsB8ImLUwOGORVsNd9vTRDeh44JGsY4aKp5I4=
1+
github.com/segmentio/asm v1.1.2 h1:AqF5GZe7ea+STIn7wnhPZJ0RANYndrphebwtOmceahw=
2+
github.com/segmentio/asm v1.1.2/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg=
3+
golang.org/x/sys v0.0.0-20211110154304-99a53858aa08 h1:WecRHqgE09JBkh/584XIE6PMz5KKE/vER4izNUi30AQ=
4+
golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)