Skip to content

Commit

Permalink
Add feature check for UTF-8 Stardoc input.
Browse files Browse the repository at this point in the history
bazelbuild/bazel#24935 changes the observable behavior
of starlark_doc_extract, and consumers need to adapt.

Work towards bazelbuild/bazel#374
Work towards phst/rules_elisp#818
  • Loading branch information
phst committed Jan 26, 2025
1 parent ae5ab5c commit abe327e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ _docs = struct(
# The stardoc output changed in https://github.com/bazelbuild/bazel/commit/bd1c3af2ea14e81268e940d2b8ba5ad00c3f08d7
# This may be required for "diff tests" that assert on the generated API docs.
kwargs_name_with_double_star = ge("8.0.0-pre.20240603.2"),
# Starting with Bazel 8.1.0, all input to Stardoc is interpreted as UTF-8.
# Previously, it was interpreted as Latin-1. See
# https://github.com/bazelbuild/bazel/pull/24935.
utf8 = ge("8.1.0"),
)

_external_deps = struct(
Expand Down

0 comments on commit abe327e

Please sign in to comment.