-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update OpenVR to v2.5.1, no longer using static bindings committed manually, workflow for building and testing on all platforms #15
Conversation
* Update openvr dependency to v2.5.1. * Update dependencies and rebuild bindings - no longer get errors generating bindings or running tests (on Windows at least). * Run actions on every branch. * Remove the buildtime_bindgen feature, lets just always generate bindings since they need to be different on each platform. In the future if needed windows, mac, and linux bindings could be prebuilt and committed and used via a feature for quicker builds. * Fix missing import, add edition to Cargo.toml.
Questions:
|
Thanks Tsu,
R.e. 2, here is the bindings on linux
and then Windows
The tests are passing on all platforms without modification now, they were not prior. |
I've tried to build locally and was not able to with rustc 1.81.0 (2024.09.04). Turns out there is rust-lang/rust#123743 some kind of bug with unsafe extern blocks which was resolved later. I think this may be due to updating bindgen by a lot of versions. Doing that change would introduce MSRV of somewhere between 1.82 and 1.84 (this one worked for me). I don't know enough about this crate to decide whether it's ok to do that or not. Pinging @Ybalrid Otherwise 👍🏻 from me. |
Tempted to just put this in the Cargo.toml and call it day then: '''' |
* Run workflow on multiple versions of rustc. * It seems the unsafe extern issue was fixed in 1.82 so min version will be 1.82 and we will test 1.82 to 1.84. * Remove workaround instructions from README as no longer necessary.
Will need to workaround this to package
|
No description provided.