Skip to content

Support native console in linux aarch64 for JRuby#41

Merged
headius merged 1 commit intoruby:masterfrom
PChambino:support-linux-aarch64-for-jruby
Mar 16, 2023
Merged

Support native console in linux aarch64 for JRuby#41
headius merged 1 commit intoruby:masterfrom
PChambino:support-linux-aarch64-for-jruby

Conversation

@PChambino
Copy link
Contributor

I am running JRuby on a Linux aarch64.

I can see the io/console/ffi/stty_console is being loaded based on the warning message:
"io/console on JRuby shells out to stty for most operations"

If I manually require io/console/ffi/native_console it fails due to the platform guard at the top of the file.

However, if I remove that guard it, it loads and works fine in my brief testing.

In #40, @headius confirmed there is no reason not to allow aarch64, so adding it in this PR. Closes #40.

I am running JRuby on a Linux aarch64.

I can see the `io/console/ffi/stty_console` is being loaded based on the warning message:
"io/console on JRuby shells out to stty for most operations"

If I manually require `io/console/ffi/native_console` it fails due to the
platform guard at the top of the file.

However, if I remove that guard it, it loads and works fine in my brief testing.

In ruby#40, @headius confirmed there is no reason not to allow aarch64, so
adding it in this PR. Closes ruby#40.
@headius headius merged commit fb3d7bb into ruby:master Mar 16, 2023
@headius
Copy link
Contributor

headius commented Mar 16, 2023

Thank you!

@PChambino PChambino deleted the support-linux-aarch64-for-jruby branch March 17, 2023 13:44
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

Successfully merging this pull request may close these issues.

IO.console is missing with JRuby on Linux aarch64

2 participants