Repository navigation
prebuilt: qt_rust_bridge runs as dx qt_rust_bridge (part of #13154) - #13928
Merged
Merged
Conversation
qt_rust_bridge and qt_rust_runtime_files run `@dx_prebuilt//:dx qt_rust_bridge` unless a generator is passed, so the CXX-Qt generator ships inside the dx multicall. The README names the cxx 1.0.205 pin and its cxxbridge1$205$ symbols. Closes #13773 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
This was referenced Nov 19, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13773. Part of #13154.
qt_rust_bridgeandqt_rust_runtime_filesnow run@dx_prebuilt//:dx qt_rust_bridge <mode> ...through a private_dxattr. A user-suppliedgeneratorstill runs as<generator> <mode> ..., without the subcommand.qt/private/tools/rust:main.rs->lib.rswithrun_process(&[String]) -> i32;[[bin]]->[lib];rust_libraryvisible to//cli/cli; unit tests for usage, a missing bridge andheader.cli/cli:Tool::QtRustBridgeinsubcommand_for, dispatch inmain.rs, dep inBUILD.bazel.qt/private/rust_bridge.bzl,qt/private/defs.bzl:QT_BRIDGE_TOOLremoved;generatorhas no default.qt/tests:rules_test_bridgeasserts argv[0] is dx and argv[1] isqt_rust_bridge; newrules_test_bridge_generatorover a stub generator fixture inqt/tests/fixtures/other.cargo-bazel-lock.jsonrepinned withCARGO_BAZEL_REPIN=workspace bazel fetch --repo=@crates.qt/README.mdand generateddocs/languages/qt.md: default isdx qt_rust_bridge; stale cxx 1.0.202 /cxxbridge1$202$fixed to 1.0.205 /cxxbridge1$205$(read fromdx qt_rust_bridge cxxoutput).dx size (
bazel build -c opt //cli/cli:dx, linux x86_64): 48,223,776 B before, 56,029,008 B after (+7.8 MB, cxx-qt-gen and cxx-gen).Tests run locally:
bazel test //qt/private/tools/rust:all //cli/cli:dx_cli_test: pass.bazel test --platforms=//qt:linux_x86_64 --extra_execution_platforms=//qt:linux_x86_64 //qt/tests:rules_test_bridge //qt/tests:rules_test_bridge_generator //qt/tests:rules_test_rust_foreign: pass (with the default host platform the Qt-cell tests are SKIPPED).rules_test_rust_modulefails under that platform override withdynamic_lookup flag on @@+qt+dx_qt_linux_x86_64_qtbase//:closure, in code this PR does not touch.bazel run //cli/cli:dx -- qt_rust_bridge header <tmp>/cxx.h: writes cxx.h.tools/dx check --applyon the touched packages: no findings in changed lines. It still reportsunused_crate_dependenciesforcxx/cxx_qtonqt_rust_bridge(the same deps the old binary had), plus findings in files this PR does not touch.--affectedfails to query on main:tools/testing/deep_graph/BUILD.bazel:file '//typescript:defs.bzl' does not contain symbol 'ts_config'.Not run locally: nested-Bazel and
*_consumer_testtargets (CI runs them).🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K