Skip to content

starlark: pinned-toolchain factory, LuaLS first (part of #10065) - #10134

Merged
TrapsterDK merged 2 commits into
mainfrom
toolchain-factory-10065
Nov 9, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
toolchain-factory-10065

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #10065.

libs/starlark/toolchain.bzl gains host_archive, pin_checks, toolchain_target (renders one toolchain() block) and hub_checks (shared hub assertions). LuaLS uses host_archive and pin_checks. The hand-written toolchain() templates of d, elixir, erlang, fortran, haskell, ocaml, php and powershell are replaced by toolchain_target; rendered output and toolchain names are unchanged. The d, ocaml and powershell metadata tests use hub_checks. Self-test: //libs/starlark/tests:toolchain.

Checked: bazel test //libs/starlark/tests:toolchain //{d,elixir,erlang,fortran,haskell,ocaml,php,powershell,lua}/toolchain:metadata pass; bazel build @dx_powershell_toolchains//... @dx_d_toolchains//... succeeds. Nested-Bazel and consumer tests were not run.

Remains: #10144 (pins.json and the dx_pins extension: ruby, powershell, swift), #10145 (msix, appimage, cuda, dart, dotnet, msvc), #10146 (remaining pin tables onto pins.json and pin_checks).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B

TrapsterDK and others added 2 commits November 10, 2026 00:01
…ain.bzl, LuaLS moves onto it (part of #10065)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B
…onto them (part of #10065)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B
@TrapsterDK
TrapsterDK force-pushed the toolchain-factory-10065 branch from a6ac2a9 to c645def Compare November 9, 2026 23:03
@TrapsterDK
TrapsterDK merged commit a0dcdb5 into main Nov 9, 2026
1 check failed
@TrapsterDK
TrapsterDK deleted the toolchain-factory-10065 branch November 9, 2026 23:07
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.

1 participant