Skip to content

Commit

Permalink
Use track_caller to make debugging cppwinrt build script errors e…
Browse files Browse the repository at this point in the history
…asier (#3417)
  • Loading branch information
kennykerr authored Jan 6, 2025
1 parent f09c132 commit 382ea56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/libs/cppwinrt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const VERSION: &str = "2.0.240405.15";
/// Calls the C++/WinRT compiler with the given arguments.
///
/// Use `cppwinrt["-help"]` for available options.
#[track_caller]
pub fn cppwinrt<I, S>(args: I) -> String
where
I: IntoIterator<Item = S>,
Expand Down

0 comments on commit 382ea56

Please sign in to comment.