Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.01 KB

File metadata and controls

30 lines (20 loc) · 1.01 KB

cppwinrt

The C++/WinRT compiler, bundled for use from Rust.

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.


Internal documentation

The remainder of this page covers how the crate is built and maintained. It is for contributors and is not needed to use cppwinrt.

How it's built

Packages the prebuilt cppwinrt.exe and exposes a path to it from build scripts. No generated Rust bindings.

Testing

Run cargo test -p cppwinrt; see also the workspace test crates.