-
Notifications
You must be signed in to change notification settings - Fork 592
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
gnirehtet relay
will IO error if binary built with Rust 1.64.0+
#475
Comments
i have this on NixOS too |
I can reproduce:
On this line:
let localhost = Ipv4Addr::new(127, 0, 0, 1).into();
let addr = SocketAddr::new(localhost, port);
let server = TcpListener::bind(&addr)?; This is not expected to fail, a breaking change probably occurred in Rust 1.64. To be investigated. |
Merged
Please confirm that it works with #478. |
I can confirm it builds/runs fine with #478, tested out in my local against rust 1.66.0. |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Homebrew, we currently need to rebuild
gnirehtet
due to an issue with our Linux pre-built binary, but all recent rebuild attempts result in a binary that doesn't work correctly.Doing some debugging locally, I noticed that the binary built with Rust 1.64.0 or 1.65.0 will error:
Experimenting with a few different versions of Rust, I found that the last version that didn't error was 1.63.0:
I assume
gnirehtet
is not compatible with changes introduced with new Rust versions.The text was updated successfully, but these errors were encountered: