På søndag 21. juni 2026 kl. 19:21, skrev Rafael Sadowski
<[email protected]>:

> On Fri Jun 19, 2026 at 07:55:42AM +0200, Rafael Sadowski wrote:
> > A simple CMake module for integrating Rust and CMake. Needs
> > cxxbridge-cmd at run-time (see ports@).
> >
> > OK?
> >
> > Information for inst:corrosion-0.6.1
> >
> > Comment:
> > CMake module to integrate Rust into a CMake project
> >
> > Description:
> >
> > Corrosion, formerly known as cmake-cargo, is a tool for integrating Rust
> > into an existing CMake project. Corrosion can automatically import
> > executables, static libraries, and dynamic libraries from a workspace
> > or package manifest (Cargo.toml file).
> >
> > Maintainer: Rafael Sadowski <[email protected]>
> >
> > WWW: https://github.com/corrosion-rs/corrosion
> >
> >
> 
> Please find a new version attached. With this new version, I have tried
> to ensure that no errors occur if the version of MODCARGO_CRATES
> (cxxbridge-cmd, cxx) and the ports in devel/cxxbridge-cmd differ from
> one another.
> 
> To avoid it, I use our ENV{MODCMAKE_PORT_BUILD} cmake env, so this
> changes will only apply in our ports env.
> 
> Normally, corrosion will try to build the cxxbridge-cmd cli tool with
> the same version in the cargo file. We don't want that, as we need a
> internet connection form the cmake process during the build.
> 
> This could cause problems where we have different versions that are
> incompatible with one another. I would suggest take that route when the
> time comes? OK?
> 

Did:

cd /usr/ports/devel/corrosion/ && make clean=all clean && make clean build 
package port-lib-depends-check test check-shlib-syms


91% tests passed, 9 tests failed out of 102

Total Test time (real) = 2584.62 sec

The following tests did not run:
         59 - rustup_proxy_build (Disabled)
         60 - rustup_proxy_cleanup (Disabled)

The following tests FAILED:
          1 - config_discovery_build (Failed)
          2 - config_discovery_run_config_discovery (Not Run)
          4 - config_discovery_run_cargo_clean (Not Run)
         30 - custom_target_build (Failed)
         31 - custom_target_run_test-exe (Not Run)
         32 - custom_target_run_rust-bin (Not Run)
         49 - install_lib_run_main-shared (Subprocess killed)
         63 - hostbuild_build (Failed)
         64 - hostbuild_run_rust-host-program (Not Run)
--
I did the make test a total of the three time with this p0 submission
with this result.

No output for port-lib-depends-check or check-shlib-syms.

It did not have any change on building devel/cxx-rust-cssparser.

May you have a good one and happy hacking.

Reply via email to