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

Add OS#isPosix() and use it for IsPosix.class check #1441

Open
dmlloyd opened this issue Jul 26, 2022 · 0 comments
Open

Add OS#isPosix() and use it for IsPosix.class check #1441

dmlloyd opened this issue Jul 26, 2022 · 0 comments
Labels
kind: enhancement ✨ A new feature or use case

Comments

@dmlloyd
Copy link
Collaborator

dmlloyd commented Jul 26, 2022

The org.qbicc.machine.arch.OS class defines characteristics of the target OS. We should add a flag to that class called posix and have a query method isPosix() which is set to true for LINUX, DARWIN, and whichever WASM runtime environments expose a POSIX-like interface.

@dmlloyd dmlloyd added the kind: enhancement ✨ A new feature or use case label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement ✨ A new feature or use case
Projects
None yet
Development

No branches or pull requests

1 participant