nicholasjng / nanobind-bazel

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

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

Open nicholasjng opened 4 weeks ago

nicholasjng commented 4 weeks 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.