C++/WinRT
The cppwinrt crate bundles the C++/WinRT compiler for use in Rust.
Start by adding the following to your Cargo.toml file:
[]
= "0.3"
Use cppwinrt function as needed:
println!;
Source:
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: