feat(wfe-rustlang): add external tool auto-install and cargo-doc-mdx

External cargo tools (audit, deny, nextest, llvm-cov) auto-install
via cargo install if not found on the system. For llvm-cov, the
llvm-tools-preview rustup component is also installed automatically.

New cargo-doc-mdx step type generates MDX documentation from rustdoc
JSON output. Runs cargo +nightly rustdoc --output-format json, then
transforms the JSON into MDX files with frontmatter, type signatures,
and doc comments grouped by module. Uses the official rustdoc-types
crate for deserialization.
This commit is contained in:
2026-03-29 16:56:21 +01:00
parent 0cb26df68b
commit b0bf71aa61
2 changed files with 850 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
pub mod transformer;
pub use transformer::transform_to_mdx;