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

Stop using IO::NULL for feature detection #38

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

kateinoigakukun
Copy link
Member

IO::NULL's underlying file /dev/null is not always available on WASI, so use of the file on top-level code (introduced in #36) causes tempfile library not to work at all on WASI.

Reported by ruby/ruby.wasm#556

`IO::NULL`'s underlying file `/dev/null` is not always available on
WASI, so use of the file on top-level code (introduced in
ruby#36) causes tempfile library not
to work at all on WASI.
@kateinoigakukun kateinoigakukun requested review from hsbt and nobu November 15, 2024 20:54
@hsbt hsbt merged commit c929e1c into ruby:master Nov 18, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants