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

Only Compiles on Windows and Linux #122

Open
oneirocosm opened this issue Oct 1, 2024 · 0 comments
Open

Only Compiles on Windows and Linux #122

oneirocosm opened this issue Oct 1, 2024 · 0 comments

Comments

@oneirocosm
Copy link

At the moment, file suffixes are used to denote build targets. Using build tags would allow this to be expanded on all operating systems that go supports.

As a start, the files ending in _windows.go would need to add //go:build windows at the start of the file. And then all of the files ending in _linux.go would need to add //go:build !windows at the start of the file.

You might need to change the file suffixes as well. I don't know for sure if the file suffixes take priority over the build targets.

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