Skip to content

zenoh_cpp_vendor#666

Merged
wentasah merged 3 commits intolopsided98:developfrom
wentasah:zenoh-cpp-vendor
Sep 14, 2025
Merged

zenoh_cpp_vendor#666
wentasah merged 3 commits intolopsided98:developfrom
wentasah:zenoh-cpp-vendor

Conversation

@wentasah
Copy link
Copy Markdown
Collaborator

This is a set of commits, which finally fixes build of zenoh_cpp_vendor. This is important, because many kilted packages depend on it.

This took inspiration from #558, cleaned up few things and added changes required for the current Zenoh version.

muellerbernd and others added 3 commits September 13, 2025 21:38
Co-authored-by: Michal Sojka <michal.sojka@cvut.cz>
This will be needed for zenoh-cpp-vendor. See the next commit.
Their build system is quite involved. They call cargo internally from
a build.rs script (which is built and executed by another cargo). The
internal cargo compiles opaque-types crate and the compilation is
supposed to fail. The build.rs script then parses the error messages
and generates some code from them for later compilation stages.

The opaque-types crate has different dependencies than the main
zenoh-c crate and the tricky part was to ensure that the internal
cargo sees different vendored dependencies than the top-level cargo.
@wentasah wentasah merged commit 13d4f72 into lopsided98:develop Sep 14, 2025
@wentasah wentasah deleted the zenoh-cpp-vendor branch September 14, 2025 06:16
@kjeremy
Copy link
Copy Markdown
Contributor

kjeremy commented Sep 19, 2025

@wentasah this will need something like the following for cross support:

#558 (comment)

@wentasah
Copy link
Copy Markdown
Collaborator Author

Hmm, I see. But this would probably require NixOS/nixpkgs@112d13c, which is not in nixpkgs we use now. Moving to current nixpkgs-unstable breaks quite a lot of things and I want to work on that in few weeks after I cleanup the repo a bit (getting rid of noetic, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants