File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1212
1313# 11.1.2-rc.1
1414
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+
1519#### :bug : Bug Fix
1620
1721- 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");
88 * For compatibility reasons, if the architecture is x64, omit it from the bin directory name.
99 * So we'll have "darwin", "linux" and "win32" for x64 arch,
1010 * 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.
1113 */
1214var 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 ;
1418
1519/**
1620 *
You can’t perform that action at this time.
0 commit comments