Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): add support for node-api in deno compile #24775

Closed
wants to merge 3 commits into from

Conversation

Mutefish0
Copy link
Contributor

fix #24614

this PR relands #24642, which was previously reverted due to a publishing issue:
https://github.com/denoland/deno/actions/runs/10048730693/job/27773718095#step:7:8506

The publishing issue may be introduced by another PR (which has been reverted) that changed the symbols_path to a relative path(perhaps publishing is running in a different cwd compared to building?), causing it to be missing during publishing:
https://github.com/denoland/deno/pull/24680/files#diff-fa76844bfec3519648a2d7493933ff3317fa3250dd913cc26d0e86b3b5d4465aL399

@Mutefish0 Mutefish0 force-pushed the fix-standalone-napi-v2 branch from 046e569 to c09fa16 Compare July 29, 2024 06:40
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@littledivy littledivy requested a review from devsnek July 31, 2024 11:43
@devsnek
Copy link
Member

devsnek commented Jul 31, 2024

this caused a duplicate symbol issue when publishing, which was separate from the other issue.

@devsnek devsnek closed this Oct 26, 2024
@devsnek
Copy link
Member

devsnek commented Oct 26, 2024

This was done in 79a3ad2. Note that .node file packaging in deno compile is still not entirely working yet, but we have some upcoming changes to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deno compile: node addons gets error missing symbol called
3 participants