From a7eeaa48986f37badb78717e3c138a8d02bb01a6 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 21 Feb 2022 09:50:28 -0800 Subject: runtime/internal/syscall: build dummy package if not Linux Fixes libgo build on non-Linux systems. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/387134 --- libgo/go/runtime/internal/syscall/syscall_other.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libgo/go/runtime/internal/syscall/syscall_other.go (limited to 'libgo/go/runtime') diff --git a/libgo/go/runtime/internal/syscall/syscall_other.go b/libgo/go/runtime/internal/syscall/syscall_other.go new file mode 100644 index 0000000..c0945ce --- /dev/null +++ b/libgo/go/runtime/internal/syscall/syscall_other.go @@ -0,0 +1,7 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !linux + +package syscall -- cgit v1.1