Crate cppwinrt

Source
Expand description

§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.1"

Use cppwinrt function as needed:

println!("{}", cppwinrt::cppwinrt(["-help"]));

Source:

Functions§

  • Calls the C++/WinRT compiler with the given arguments.