Skip to content

Commit 1e1e481

Browse files
authored
Add work around for bug in cross compilation (#621)
1 parent 3c38abf commit 1e1e481

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "Code generation for the windows crate"
88

99
[dependencies]
10-
macros = { package = "windows_gen_macros", path = "macros", version = "0.5.0" }
10+
windows_gen_macros = { path = "macros", version = "0.5.0" }
1111
quote = "1.0"
1212
syn = "1.0"
1313
proc-macro2 = "1.0"

crates/gen/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// work around for cross compilation bug https://github.com/rust-lang/rust/issues/82991
2+
extern crate windows_gen_macros as macros;
3+
14
pub use squote::{format_ident, quote, Ident, Literal, TokenStream};
25
pub use std::collections::{BTreeMap, BTreeSet};
36
pub use std::iter::FromIterator;

0 commit comments

Comments
 (0)