nicholasjng / nanobind-bazel

Bazel defs and rules for building Python projects with nanobind extensions.
Apache License 2.0
9 stars 1 forks source link

Add `nanobind` slot for passing a custom nanobind target #33

Open nicholasjng opened 6 months ago

nicholasjng commented 6 months ago

This is currently missing for people to be able to pass their own nanobind targets, which might be necessary if the default options do not cut it.

The precedent is cc_binary's malloc slot, which takes a label pointing to a custom malloc implementation to use, falling back to a well-established default.

Probably urgent.