Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on mac fails #1

Open
mptnan opened this issue Aug 16, 2022 · 0 comments
Open

Building on mac fails #1

mptnan opened this issue Aug 16, 2022 · 0 comments

Comments

@mptnan
Copy link

mptnan commented Aug 16, 2022

Building it on mac fails with error

../../../../go/pkg/mod/github.com/!holo!archivists/[email protected]/main.go:32:5: undefined: increaseOpenFileLimit

It's because build tags in rlimit files don't match darwin so changing rlimit_windows.go

//go:build windows
// +build windows

to rlimit_other.go

//go:build !(linux || android)
// +build !linux,!android

fixes it. (I changed filename because building it with the name rlimit_windows.go didn't work for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant