The C++/WinRT compiler, bundled for use from Rust.
- 📦 crates.io
- 📖 docs.rs
- 🚀 Getting started
- 📁 Source
cppwinrt packages the C++/WinRT
compiler so it can be invoked from a Rust build. It is a thin wrapper that runs
the bundled cppwinrt.exe with the arguments you provide, returning its output.
This is primarily useful for interop scenarios that also generate C++/WinRT
projection headers.
The remainder of this page covers how the crate is built and maintained. It is
for contributors and is not needed to use cppwinrt.
Packages the prebuilt cppwinrt.exe and exposes a path to it from build scripts.
No generated Rust bindings.
Run cargo test -p cppwinrt; see also the workspace test crates.