Skip to content

layout: julia, zig, fortran, d to <lang>/defs.bzl and private/, delete their families - #10283

Merged
TrapsterDK merged 2 commits into
mainfrom
layout-julia-zig-fortran-d
Nov 10, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
layout-julia-zig-fortran-d

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Closes #10099. Part of #10084.

  • julia, zig, fortran and d get <lang>/defs.bzl as the only public .bzl; rules, toolchains, coverage and tools move to <lang>/private/.
  • fortran, d and zig get <lang>/extensions.bzl re-exporting their public module extensions.
  • Each language gets a BUILD.bazel; lang.json family is now core, pins paths follow the move.
  • Tests move from families/<lang>/<lang>/tests to <lang>/tests; families/{julia,zig,fortran}, their bazel_dep/local_path_override, .bcr/families templates and families.json entries are deleted; d's entry merges into core.
  • Root MODULE.bazel gains the zig and julia toolchain tags, the fortran toolchain registration, and dev-only julia_app_pkgs and zig_app_xxhash.
  • Labels updated across docs, starters, hermetic consumers, gazelle, cli and tests. Support matrix, rule names README and MODULE.bazel.lock regenerated with Bazel.

Tests run: modules lang_json/families (php and lua failures are on main), gazelle d/julia/zig/dispatch, libs/module_bazel, cli/adopt, support_matrix, rule_names, wrapper contract tests, label queries over touched packages. Not run: nested-Bazel and *_consumer_test targets, fixture builds needing toolchain downloads; CI covers them. Pre-existing failures seen: modules versions_contract, consumer_deps_test, oci_pins_test, python_budget_test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

@TrapsterDK
TrapsterDK marked this pull request as draft November 10, 2026 02:17
TrapsterDK and others added 2 commits November 10, 2026 03:26
…e their families (part of #10084)

Closes #10099.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
…n and d (part of #10084)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Fixed: rebased onto current main (resolved conflicts with the elixir/erlang/python layout moves); zig_app_xxhash is now dev_dependency = True; rules_zig extension and toolchain stay non-dev, placed after the fortran toolchain registration. Tests: zig exit_codes_test, libs/starlark/tests, quality tests pass; support matrix regenerated with no diff.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

@TrapsterDK
TrapsterDK force-pushed the layout-julia-zig-fortran-d branch from 77102e5 to ddf6c11 Compare November 10, 2026 02:29
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Review: approve

Checked at ddf6c11 against the layout-move scope:

  • Root MODULE.bazel: fortran extension and toolchain registration, rules_zig extension with the zig toolchain tag, and the julia toolchain tag plus the dx_julia_* pkg repos are non-dev. zig_app_xxhash and julia_app_pkgs are dev-only.
  • No label, load or path points into the deleted families/{julia,zig,fortran} or any rules_dx_ module. Every //julia, //zig, //fortran and //d label I extracted resolves to an existing package or file.
  • d, fortran and zig extensions.bzl load from private/. lang.json family is core and the pins paths follow the move. families.json lists the new extension labels.
  • No compat code or aliases added.

Must-fix: none.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

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.

layout: julia, zig, fortran, d to <lang>/defs.bzl and private/, delete their families

1 participant