Skip to content

List out posix compatibles - #2548

Closed
fengb wants to merge 2 commits into
ziglang:masterfrom
fengb:posix-detection
Closed

List out posix compatibles#2548
fengb wants to merge 2 commits into
ziglang:masterfrom
fengb:posix-detection

Conversation

@fengb

Copy link
Copy Markdown
Contributor

This pulls them inline with the definition in std/os.zig. Currently, having std.debug.warn in the codebase causes blocking compile errors for non-posix systems like wasm32-freestanding.

Comment threadstd/os/file.zig Outdated
@fengb

Copy link
Copy Markdown
ContributorAuthor

Wasi mentions "basic POSIX-like" compatibility (specifically excluding fork and exec), and we do allow os.posix to be os.wasi. Should I go ahead and set wasi to be is_posix?

@fengb

Copy link
Copy Markdown
ContributorAuthor

This is probably a stopgap until #2527. Might not be worthwhile?

@fengb

Copy link
Copy Markdown
ContributorAuthor

Will be fixed via POSIX reorg.

@fengbfengb closed this May 27, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@fengb@daurnimator