We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 261335b commit 9f963c3Copy full SHA for 9f963c3
server/src/utils.ts
@@ -739,6 +739,16 @@ let findPlatformPath = (projectRootPath: p.DocumentUri | null) => {
739
740
let platformPath = path.join(rescriptDir, c.platformDir);
741
742
+ // Binaries have been split into optional platform-specific dependencies
743
+ // since v12.0.0-alpha.13
744
+ if (!fs.existsSync(platformPath)) {
745
+ platformPath = path.join(
746
+ rescriptDir,
747
+ "..",
748
+ `@rescript/${process.platform}-${process.arch}/bin`
749
+ )
750
+ }
751
+
752
// Workaround for darwinarm64 which has no folder yet in ReScript <= 9.1.4
753
if (
754
process.platform == "darwin" &&
0 commit comments