mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-23 05:56:17 +01:00
fix purego build errors on non-supported architectures
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
//go:build linux
|
||||
//go:build linux && (amd64 || arm64)
|
||||
|
||||
package agent
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/ebitengine/purego"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
func openLibrary(name string) (uintptr, error) {
|
||||
|
||||
Reference in New Issue
Block a user