-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
0188687
commit 99f7611
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//go:build !windows | ||
//go:build !windows && !riscv64 | ||
|
||
package tcp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
4 changes: 3 additions & 1 deletion
4
p2p/transport/tcp/metrics_windows.go → p2p/transport/tcp/metrics_none.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters