Skip to content

prebuilt: capnpc_rust_dx runs as dx capnpc_rust_dx (part of #13154) - #13491

Merged
TrapsterDK merged 1 commit into
mainfrom
issue-13154-slice3
Nov 18, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
issue-13154-slice3

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #13154

capnproto_rust_library now runs @dx_prebuilt//:dx capnpc_rust_dx instead of a separate capnpc_rust_dx binary. The driver becomes a library linked into the dx multicall (subcommand_for in cli/cli/src/multicall.rs). undeclared_rs_test now also checks that the action runs dx with the capnpc_rust_dx subcommand.

Tests (local): bazel test //capnproto/private/tools/capnpc_rust_dx:all //capnproto/tests:{undeclared_rs_test,rust_roundtrip_test,rust_duplicate_module_test,rust_missing_crate_dep_test,api_rs_shard_argv_test,base_rs_shard_argv_test} //cli/cli:dx_cli_test: 8 of 8 pass. Not run locally: capnproto consumer and nested-Bazel tests (CI runs them).

Still to do for #13154:

  • quality diff, msvc_link_exec, ocaml_cc_driver: invoked by program path or PATH name (argv[0] question)
  • appimage_packer: re-execs itself as file, needs an argv[0] alias
  • qt_rust_bridge, hpc_coverage, apple_ops and simulator tools, android_ops, docs extractors and site tools, bench_report, gopls_tier, apple_post_action, depcheck
  • hpc_coverage, bench_report and android_ops run at test time, so they need a target-config dx
  • Done-when guard (from prebuilt: shared tool registry, generated pins and guard test (every rules_dx tool prebuilt) #13149) and the Windows no-symlink consumer check

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K

capnproto_rust_library now runs `@dx_prebuilt//:dx capnpc_rust_dx` instead of
a separate capnpc_rust_dx binary, so the driver ships inside the dx multicall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
@TrapsterDK
TrapsterDK merged commit bc529da into main Nov 18, 2026
2 checks passed
@TrapsterDK
TrapsterDK deleted the issue-13154-slice3 branch November 18, 2026 14:08
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