Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
Signed-off-by: lee-orr <[email protected]>
  • Loading branch information
lee-orr committed Sep 5, 2023
1 parent 2fa5c7e commit f3e85a8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dexterous_developer_internal/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ impl Target {
match self {
Target::Linux => "x86_64-unknown-linux-gnu",
Target::LinuxArm => "aarch64-unknown-linux-gnu",
Target::Windows => "x86_64-pc-windows-gnu",
Target::Windows => {
if cfg!(windows) {
"x86_64-pc-windows-msvc"
} else {
"x86_64-pc-windows-gnu"
}
}
Target::Mac => "x86_64-apple-darwin",
Target::MacArm => "aarch64-apple-darwin",
}
Expand Down

0 comments on commit f3e85a8

Please sign in to comment.