Browse Source

tcp: fix build on loong64 (#2655)

pull/2661/head
吴小白 11 months ago
committed by GitHub
parent
commit
19ffd56058
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      p2p/transport/tcp/metrics.go
  2. 2
      p2p/transport/tcp/metrics_general.go
  3. 2
      p2p/transport/tcp/metrics_none.go

2
p2p/transport/tcp/metrics.go

@ -1,4 +1,4 @@
//go:build !windows && !riscv64
//go:build !windows && !riscv64 && !loong64
package tcp

2
p2p/transport/tcp/metrics_general.go

@ -1,4 +1,4 @@
//go:build !linux && !darwin && !windows && !riscv64
//go:build !linux && !darwin && !windows && !riscv64 && !loong64
package tcp

2
p2p/transport/tcp/metrics_none.go

@ -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

Loading…
Cancel
Save