Conversation
|
Here's what I tried:
At this point, Can anyone tell me where I went wrong? Does anyone have Rust and Cargo working on Haiku? |
|
Hello @dcuddeback! What you were encountering was actually a bug in the Haiku networking layer that should be fixed in the upcoming Haiku release: https://review.haiku-os.org/c/haiku/+/2825 Keep your eyes out for the new Haiku R1/Beta 2 release in the upcoming month! :) |
|
Hi, thanks for this PR! There is just a single issue preventing termios from building on Haiku now, it is this |
|
@linkmauve Thanks. I take it that means Haiku has worked out their bug in their networking layer so this is ready to test again. I think it should be pretty easy to work around the |
|
hello, on a more recent versions of haiku (r1beta3+) this branch (still) passes tests on haiku. however, it seems that it is out of sync with what is in master. after trying to update to the latest on mainline and re-synced the patches to apply to mainline, looks like tests are able to work on haiku. below is a sample run: attached is a suggested patch that can be applied onto the mainline branch. if an updated pr with a resynced branch would be preferred, let me know and i can try to set that up. |

This is #24 with some fixes:
tcflag_tasu32. It's typedef'd as__haiku_uint32intermios.h. I thinku32matches the intended use of that type.cfsetspeed(), because that seems to be missing in Haiku. Without it, anything that attempts to usecfsetspeed()will fail to link.I need help testing this, though. If anyone's interested in landing support for Haiku, please help me verify its correctness. What I'm really looking for is some instructions on how to setup a working Rust compiler on Haiku.
pkgman install rust_bindoesn't do it for me.cargocrashes with a segfault inside OpenSSL when fetching dependencies.I wrote shiny new contributing guidelines earlier today with details on what kind of testing guidance I'm looking for as well as how others might help test a patch like this.
/cc @sikmir