Open DSchroer opened 10 months ago
@DSchroer I'd be interested in revisiting this - since this PR was opened I have requested a larger crate size for occt-sys
which means I don't need to do as many exclude
shenanigans in Cargo.toml
, as well as less patching of the occt src directory.
I am interested in a working cross compile chain. Any chance to finish this project @DSchroer? If not, I am going to try it ;)
@fidoriel please do! I'll do my best to help review/test if any PRs are posted.
To sum up: the crates upload limit is overcome. Nevertheless, the windows thing deserves its own PR, being out of scope for this one. Hence I am not on windows, so cannot (and will not) test. And therefor extract the cross compile part.
So, a proper cleanup and squash is needed? I use currently a fork with this patch applied ;)
@fidoriel yep that sounds about right!
Fix for https://github.com/bschwind/opencascade-rs/issues/160
occt-sys
no longer builds OCCT in the build.rs file. This allows it to be re-included in the workspace and the build still only triggered when thebuiltin
feature is enabled.This also now passes the correct ENV variables to the build so it is built for TARGET and not HOST.
Finally added CI to test these builds work on various platforms.
Had to rename
Handle_*
toHandle*
for MSVC.