You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prebuilt: qt_rust_bridge runs as dx qt_rust_bridge (part of #13154) #13773
The public generator parameter: qt/private/defs.bzl:570,590 and qt/private/rust.bzl:22,58.
Fix
Turn the binary into a lib with run_process(&[String]) -> i32, add qt_rust_bridge to subcommand_for, and give dx the dep.
qt_rust_bridge and qt_rust_runtime_files get a private _dx attr (@dx_prebuilt//:dx, exec), and generator defaults to None. With no generator, the action runs dx with qt_rust_bridge as the first argument. A user-supplied generator still runs as before, without the subcommand.
Add an analysis test in qt/tests that argv[1] of QtRustBridge is qt_rust_bridge.
Note the dx size before and after in the PR, since cxx-qt-gen joins the binary.
Delete the binary and the [[bin]] entry, then repin cargo-bazel-lock.json.
Activity