From 0bc4206d088b331298a4130a89ca81f09bb5d3d2 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Tue, 28 Jan 2025 11:11:49 +0800 Subject: [PATCH] feat: support freebsd (#4609) --- core/fs/files.go | 2 +- core/proc/goroutines.go | 2 +- core/proc/goroutines_test.go | 2 +- core/proc/profile.go | 2 +- core/proc/shutdown.go | 2 +- core/proc/shutdown_test.go | 2 +- core/proc/signals.go | 2 +- core/proc/signals_test.go | 2 +- tools/goctl/migrate/cancel.go | 2 +- tools/goctl/util/pathx/readlink.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/fs/files.go b/core/fs/files.go index e58a66a4bdc0..c5075d441ef7 100644 --- a/core/fs/files.go +++ b/core/fs/files.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package fs diff --git a/core/proc/goroutines.go b/core/proc/goroutines.go index 891150de3724..e16d6745305d 100644 --- a/core/proc/goroutines.go +++ b/core/proc/goroutines.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/goroutines_test.go b/core/proc/goroutines_test.go index 4d5154623cf1..f3b3f8840a0b 100644 --- a/core/proc/goroutines_test.go +++ b/core/proc/goroutines_test.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/profile.go b/core/proc/profile.go index 280ac945df87..a1e8fc05abc1 100644 --- a/core/proc/profile.go +++ b/core/proc/profile.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/shutdown.go b/core/proc/shutdown.go index 402b9ce1c11f..5984c4fc7940 100644 --- a/core/proc/shutdown.go +++ b/core/proc/shutdown.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/shutdown_test.go b/core/proc/shutdown_test.go index 4f3aed59279e..683dcf21be30 100644 --- a/core/proc/shutdown_test.go +++ b/core/proc/shutdown_test.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/signals.go b/core/proc/signals.go index b8996cbaa9fd..e25a961cd9e4 100644 --- a/core/proc/signals.go +++ b/core/proc/signals.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/core/proc/signals_test.go b/core/proc/signals_test.go index c49d503b780b..7838ba6fae60 100644 --- a/core/proc/signals_test.go +++ b/core/proc/signals_test.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package proc diff --git a/tools/goctl/migrate/cancel.go b/tools/goctl/migrate/cancel.go index 7421d34ea0d3..31a1af6de1a0 100644 --- a/tools/goctl/migrate/cancel.go +++ b/tools/goctl/migrate/cancel.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package migrate diff --git a/tools/goctl/util/pathx/readlink.go b/tools/goctl/util/pathx/readlink.go index e67fd8c03f8e..0c8208f8d681 100644 --- a/tools/goctl/util/pathx/readlink.go +++ b/tools/goctl/util/pathx/readlink.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux || darwin || freebsd package pathx