Skip to content

[Downstream Bazel Fix] Temporarily patch rules_rust for Bazel@Head compatibility#682

Merged
gregestren merged 1 commit intobazelbuild:mainfrom
kotlaja:fix_676
Apr 16, 2026
Merged

[Downstream Bazel Fix] Temporarily patch rules_rust for Bazel@Head compatibility#682
gregestren merged 1 commit intobazelbuild:mainfrom
kotlaja:fix_676

Conversation

@kotlaja
Copy link
Copy Markdown
Contributor

@kotlaja kotlaja commented Apr 14, 2026

Fix #676.

Recent changes in Bazel 10's Starlark runtime (specifically sort_key metadata attached to TypeCheckedTag structures) caused rules_rust to unconditionally crash when unpacking Bzlmod tag keys via dir():

 Error in repository_rule: unexpected Starlark value: <sort_key>

This fix is a temporary one, until it's fixed in rules_rust: bazelbuild/rules_rust#3962.

@kotlaja
Copy link
Copy Markdown
Contributor Author

kotlaja commented Apr 14, 2026

Note that the frontend issue is the preexisting one, which I fixed in #683.

@gregestren gregestren merged commit c14de95 into bazelbuild:main Apr 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bazel CI] ERROR: Bazel-Rust Version Incompatibility: Starlark sort_key Error

2 participants