Skip to content

Commit

Permalink
tcp: fix build on riscv64 (#2590)
Browse files Browse the repository at this point in the history
* tcp: fix build on riscv64

* explain why riscv64 doesn't work

Co-authored-by: Jorropo <jorropo.pgm@gmail.com>

---------

Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
  • Loading branch information
marten-seemann and Jorropo authored Oct 17, 2023
1 parent 0188687 commit 99f7611
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion p2p/transport/tcp/metrics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !windows
//go:build !windows && !riscv64

package tcp

Expand Down
2 changes: 1 addition & 1 deletion p2p/transport/tcp/metrics_general.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !linux && !darwin && !windows
//go:build !linux && !darwin && !windows && !riscv64

package tcp

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:build windows
// riscv64 see: https://github.com/marten-seemann/tcp/pull/1

//go:build windows || riscv64

package tcp

Expand Down

0 comments on commit 99f7611

Please sign in to comment.