-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nanobind-bazel docs with latest developments (#842)
* Update nanobind-bazel docs with latest developments `nanobind_bazel` v2.4.0 was released on the BCR. The MODULE.bazel code example was thus updated, as is tradition, along with two more user-facing changes: 1. The minimum Bazel version was increased to Bazel 7, since we need to use a sufficiently new `rules_python` for free-threading support. 2. The `@nanobind_bazel//:free_threading` flag was removed, since it was not that useful - you still needed to give `rules_python`'s free-threading flag separately to request a free-threaded toolchain, and supplying it did not even guarantee a free-threading build. Now, we just use `rules_python`'s free-threading flag value directly instead. * Add section on free-threaded extension builds with nanobind_bazel Presents the necessary toolchain setup in a code block, and mentions the flag name that must be set for a free-threaded libnanobind build.
- Loading branch information
1 parent
698f449
commit 3239284
Showing
2 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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