From c5c6afea125875e635efb26da039d83d65e7d67f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Oct 2025 07:13:29 -0500 Subject: make this build on darwin --- hw_darwin.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hw_darwin.go (limited to 'hw_darwin.go') diff --git a/hw_darwin.go b/hw_darwin.go new file mode 100644 index 0000000..ab1aef8 --- /dev/null +++ b/hw_darwin.go @@ -0,0 +1,7 @@ +package zoopb + +// simple memory and cpu count +func (me *Machine) osGetMemory() { + me.Memory = int64(1024 * 1024) + me.Cpus = int64(1) +} -- cgit v1.2.3