Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature check for UTF-8 Stardoc input. #92

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions features.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ _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 strings exported to Stardoc (docstrings,
# rule names, etc.) are interpreted as UTF-8. Previously, they were
# interpreted as Latin-1, resulting in double-encoding if the underlying
# Starlark file was actually UTF-8-encoded. See
# https://github.com/bazelbuild/bazel/pull/24935.
utf8_enabled = ge("8.1.0"),
)

_external_deps = struct(
Expand Down
Loading