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
2 people authored and sukunrt committed Oct 18, 2023
1 parent d40961b commit 0bea85f
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 0bea85f

Please sign in to comment.