-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Hello.
Rustc is update to 1.47.0. I am using Windows 7 and my default toolchain is stable-x86_64-pc-windows-gnu.
I wanted to test cross platform with a little example. No worries when I compil in linux or macos, but in windows there is that compil error.
br C:\Users\Documents\projects\piet-crossplatform-example
$ cargo update
Updating crates.io index
br C:\Users\Documents\projects\piet-crossplatform-example
$ cargo clean
br C:\Users\Documents\projects\piet-crossplatform-example
$ cargo build
Compiling winapi-x86_64-pc-windows-gnu v0.4.0
Compiling winapi v0.3.9
Compiling libc v0.2.79
Compiling byteorder v1.3.4
Compiling bitflags v1.2.1
Compiling arrayvec v0.5.1
Compiling crc32fast v1.2.0
Compiling adler32 v1.2.0
Compiling cfg-if v0.1.10
Compiling lazy_static v1.4.0
Compiling utf16_lit v1.0.1
Compiling associative-cache v1.0.1
Compiling miniz_oxide v0.3.7
Compiling kurbo v0.6.3
Compiling piet v0.2.0-pre5
Compiling deflate v0.8.6
Compiling png v0.16.7
Compiling wio v0.2.2
Compiling dwrote v0.11.0
Compiling piet-direct2d v0.2.0-pre5
error[E0658]: procedural macros cannot be expanded to expressions
--> C:\Users.cargo\registry\src\github.com-1ecc6299db9ec823\piet-direct2d-0.2.0-pre5\src\dwrite.rs:39:32
|
39 | const DEFAULT_LOCALE: &[u16] = utf16_lit::utf16_null!("en-US");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54727 rust-lang/rust#54727 for more information
error: aborting due to previous error
For more information about this error, try rustc --explain E0658
.
error: could not compile piet-direct2d
.
To learn more, run the command again with --verbose.