Jonathan Schwender
Jonathan Schwender
@pvdrz That sounds basically like what we are currently doing manually in our project. Some comments: - It might be better to generate a C file and a header file....
> Regardless of how this c code was generated. We would need to compile the c code first and then "re-run" bindgen Why does the C-code need to be compiled...
> ``` > FetchContent_MakeAvailable(Corrosion) > set(Rust_COMPILER ${3rdParty_SDIR}/rust/rustc/bin/rustc) > set(Rust_CARGO ${3rdParty_SDIR}/rust/cargo/bin/cargo) > ``` The `Rust_XXX` variables must be set **before** Corrosion or FindRust is included, in this case via `FetchContent_MakeAvailable`. I...
A helpful error message should now be printed if `Rust_COMPILER` is not set and `rustc` not found in PATH.
@ogoffart Could you fork https://github.com/AndrewGaspar/install-cmake into the corrosion-rs organization? I need to update the action, since the artifact paths for cmake have changed for more recent versions of cmake. To...
Okay, this PR is kind of stuck now, since I can't reproduce why cross-compiling with windows and msvc is failing in CI. Observations: - On both windows-2022 and windows-2019 with...
Okay, I more or less figured out what is going on here. 1. I was not able to reproduce because I was using PowerShell and running `vsvarsall.bat` has no effect...
When adding a test for #139, I noticed that `corrosion_set_linker_language` apparently does have an effect. I'm not sure what exactly changed in comparison to my previous tests, so I'll need...
Sure, I'd definitely appreciate that!
> I was looking to see if it was possible to use a .cargo/config.toml (in my source directory), > I didn't find a way to do so, this line in...