mirror of
https://github.com/cloudflare/workerd.git
synced 2026-11-16 22:49:59 +00:00
wd_rust_crate and wd_rust_binary take explicit srcs, crate_root and cxx_bridge_hdrs, so a crate can share a package with C++ instead of globbing everything in it, and the generated bridge headers take the package's C++ include path. wd_rust_binary also gains malloc, tool (linkopts_tool + cpu:8, as wd_cc_binary) and a _cross alias, enough to build a production binary with it. clippy.toml and rustfmt.toml move to the repository root, where they apply to every crate; `just clippy` accepts a label as well as a src/rust crate name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
3 lines
65 B
3 lines
65 B