Skip to content

Conversation

nojaf
Copy link
Member

@nojaf nojaf commented Sep 13, 2025

We need to pass the runtime as well when we compile the mlmap file.
This surfaced in a Deno setup, didn't had this problem with Bun.
Educated guess is the difference in folder layout (.deno).

Copy link

pkg-pr-new bot commented Sep 13, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7888 

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7888 

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7888 

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7888 

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7888 

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7888 

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7888 

commit: 8c6c212

@nojaf nojaf mentioned this pull request Sep 13, 2025
5 tasks
typeof globalThis.Deno !== "undefined"
? `npm:${pkgName}/package.json`
: `${pkgName}/package.json`;
const specifier = `${pkgName}/package.json`;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified by @jderochervlk that we don't need this for Deno.

@nojaf nojaf marked this pull request as ready for review September 15, 2025 06:32
@nojaf nojaf merged commit 34cb6b8 into rescript-lang:master Sep 16, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants