Skip to content

Commit 5519c17

Browse files
committed
Add support for uwp targets
1 parent cbf6d2f commit 5519c17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,7 @@ impl Build {
17831783
"armv7-unknown-netbsd-eabihf" => Some("armv7--netbsdelf-eabihf"),
17841784
"i586-unknown-linux-musl" => Some("musl"),
17851785
"i686-pc-windows-gnu" => Some("i686-w64-mingw32"),
1786+
"i686-uwp-windows-gnu" => Some("i686-w64-mingw32"),
17861787
"i686-unknown-linux-musl" => Some("musl"),
17871788
"i686-unknown-netbsd" => Some("i486--netbsdelf"),
17881789
"mips-unknown-linux-gnu" => Some("mips-linux-gnu"),
@@ -1817,6 +1818,7 @@ impl Build {
18171818
"thumbv8m.main-none-eabi" => Some("arm-none-eabi"),
18181819
"thumbv8m.main-none-eabihf" => Some("arm-none-eabi"),
18191820
"x86_64-pc-windows-gnu" => Some("x86_64-w64-mingw32"),
1821+
"x86_64-uwp-windows-gnu" => Some("x86_64-w64-mingw32"),
18201822
"x86_64-rumprun-netbsd" => Some("x86_64-rumprun-netbsd"),
18211823
"x86_64-unknown-linux-musl" => Some("musl"),
18221824
"x86_64-unknown-netbsd" => Some("x86_64--netbsd"),

0 commit comments

Comments
 (0)