File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# 11.1.2-rc.1
14
14
15
+ #### :rocket : New Feature
16
+
17
+ - Support Windows 11 ARM (using the x64 binaries in emulation). https://github.com/rescript-lang/rescript-compiler/pull/6813
18
+
15
19
#### :bug : Bug Fix
16
20
17
21
- Fix location of let bindings with attributes. https://github.com/rescript-lang/rescript-compiler/pull/6791
Original file line number Diff line number Diff line change @@ -8,9 +8,13 @@ var path = require("path");
8
8
* For compatibility reasons, if the architecture is x64, omit it from the bin directory name.
9
9
* So we'll have "darwin", "linux" and "win32" for x64 arch,
10
10
* but "darwinarm64" and "linuxarm64" for arm64 arch.
11
+ * Also, we do not have Windows ARM binaries yet. But the x64 binaries do work on Windows 11 ARM.
12
+ * So omit the architecture for Windows, too.
11
13
*/
12
14
var binDirName =
13
- process . arch === "x64" ? process . platform : process . platform + process . arch ;
15
+ process . arch === "x64" || process . platform === "win32"
16
+ ? process . platform
17
+ : process . platform + process . arch ;
14
18
15
19
/**
16
20
*
You can’t perform that action at this time.
0 commit comments