Skip to content

Commit 0642738

Browse files
committed
platform/windows: fix cfg type
1 parent b3c4da5 commit 0642738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/src/family/windows/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub const FILE_SEPARATOR: &str = "\\";
1616
pub const LINE_SEPARATOR: &str = "\r\n";
1717
// https://github.com/openjdk/jdk/blob/19373b2ff0cd795afa262c17dcb3388fd6a5be59/src/java.base/windows/native/libjava/java_props_md.c#L580-L588
1818
cfg_if::cfg_if! {
19-
if #[(target_arch = "x86_64")] {
19+
if #[cfg(target_arch = "x86_64")] {
2020
pub const OS_ARCH: &str = "amd64";
2121
} else if #[cfg(target_arch = "x86")] {
2222
pub const OS_ARCH: &str = "x86";

0 commit comments

Comments
 (0)