oficina / home Public

Merge branch 'fix-operator-arm64-build' into main

claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev eabd7e1d234ed458b8b68f22ad895adffb5d5292 parent d4b2eebparent 20a3433
2 files changed, +2 −1
  • Makefile +1 −0
  • internal/operator/open_linux.go +1 −1

CI cancelled — superseded by a newer push — run details

diff --git a/Makefile b/Makefile
index 49971a8..7b90e7a 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ test-fmt:
test-build:
CGO_ENABLED=0 go build ./...
+ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina
cd handoff && CGO_ENABLED=0 go build ./...
cd roster && CGO_ENABLED=0 go build ./...
diff --git a/internal/operator/open_linux.go b/internal/operator/open_linux.go
index 08546ae..50e30f3 100644
--- a/internal/operator/open_linux.go
+++ b/internal/operator/open_linux.go
@@ -171,7 +171,7 @@ func descriptors() (map[int]descriptor, error) {
if e != nil {
return nil, ErrUnavailable
}
- out[fd] = descriptor{fileIdentity{uint64(s.Dev), s.Ino}, flags, s.Nlink}
+ out[fd] = descriptor{fileIdentity{uint64(s.Dev), s.Ino}, flags, uint64(s.Nlink)}
}
return out, nil
}