Skip to content

Commit

Permalink
tcp: fix build on loong64 (#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai authored Dec 1, 2023
1 parent 0d52da2 commit 19ffd56
Show file tree
Hide file tree
Showing 3 changed files with 3 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 && !riscv64
//go:build !windows && !riscv64 && !loong64

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 && !riscv64
//go:build !linux && !darwin && !windows && !riscv64 && !loong64

package tcp

Expand Down
2 changes: 1 addition & 1 deletion p2p/transport/tcp/metrics_none.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// riscv64 see: https://github.com/marten-seemann/tcp/pull/1

//go:build windows || riscv64
//go:build windows || riscv64 || loong64

package tcp

Expand Down

0 comments on commit 19ffd56

Please sign in to comment.