Repository navigation
feat(compat): add compat.robin-map 1.4.1 and compat.nanobind 3.1.0 - #933
Merged
Sunrisepeak merged 1 commit intoNov 30, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
compat.robin-map(1.4.1) andcompat.nanobind(3.1.0) along with workspace example tests.Package Design
compat.robin-map(1.4.1,MIT)*/include(<tsl/robin_map.h>,<tsl/robin_set.h>) with a minimal C anchor target.wjakob/nanobindkeepsext/robin_mapas a git submodule that is empty in GitHub release archives. Declaringcompat.robin-mapindepsavoids any network/submodule fetch insideinstall().compat.nanobind(3.1.0,BSD-3-Clause)compat.pybind11: noPython.hdependency at package level.install()moves the extractednanobind-<version>/tree directly into the install directory so all descriptor paths stay version-agnostic.include/(<nanobind/nanobind.h>,<nanobind/stl/*.h>) and generates<mcpp_nanobind_combined.hpp>, which forwards to../../src/nb_combined.cpp. Consumers include<mcpp_nanobind_combined.hpp>in exactly one translation unit compiled with their target Python SDK and ABI flags.compat.robin-map = "1.4.1"for<tsl/robin_map.h>.Notes
docs/cn-mirror.mdfallback for contributors withoutmcpp-reswrite access). Maintainers can convert them toGLOBAL/CNtables without changing thesha256checksums.Files Changed
pkgs/c/compat.robin-map.lua—compat.robin-map1.4.1 descriptorpkgs/c/compat.nanobind.lua—compat.nanobind3.1.0 descriptortests/examples/robin-map/— smoke test exercisingtsl::robin_map/tsl::robin_settests/examples/nanobind/— embedded nanobind module test viaxim:pythonand<mcpp_nanobind_combined.hpp>mcpp.toml— register both example members in the workspaceVerification
tests/examples/robin-map,tests/examples/nanobind) passtests/examples/robin-map,tests/examples/nanobind) pass