§C++/WinRT
The cppwinrt crate bundles the C++/WinRT compiler for use in Rust.
Start by adding the following to your Cargo.toml file:
[dependencies.cppwinrt]
version = "0.3"
Use cppwinrt
function as needed:
println!("{}", cppwinrt::cppwinrt(["-help"]));
Source: