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

swc-linux-arm64-gnu is not included in the GitHub releases after v1.7.14. #9769

Open
pan93412 opened this issue Dec 1, 2024 · 5 comments
Open
Labels
Milestone

Comments

@pan93412
Copy link
Contributor

pan93412 commented Dec 1, 2024

Describe the bug

f625035 did not fix it.


The filename is swc-linux-arm64-gnu.

It was present not after version v1.7.14: v1.7.14 (release). It has now disappeared. I suspect there was a change in the CI, but I cannot find the code that introduced this issue.

Discord discussion: discord.com/channels/889779439272075314/889785438938726441/1290999698328649738.

Input code

N/A

Config

N/A

Playground link (or link to the minimal reproduction)

https://play.swc.rs/?version=1.9.3&code=H4sIAAAAAAAAA0vOzyvOz0nVy8lP11DKSM3JyVfSBAAewMmrFAAAAA%3D%3D&config=H4sIAAAAAAAAA1WPSw7DIAwF9zkF8rrbdtE79BAWdSIifrKJVBTl7iUE0maH3xsz8jooBbNoeKq1PMsQkYX4nEsi2Sf8lARIOxTNJia49XaWvRrRCtVoOxpIyBOluiX3hoMNQajjLXPGmzH%2FC3VwkUnkCu4o%2BsnSVTc0JbjwXmrZDkk50qF%2FwA%2FqsvNjMPLqm4kXGrYvhlQioBQBAAA%3D

SWC Info output

N/A

Expected behavior

N/A

Actual behavior

No response

Version

1.9.3

Additional context

No response

@pan93412 pan93412 added the C-bug label Dec 1, 2024
pan93412 added a commit to database-playground/app-sf that referenced this issue Dec 1, 2024
@kdy1 kdy1 self-assigned this Dec 2, 2024
@kdy1 kdy1 added this to the Planned milestone Dec 2, 2024
@kdy1
Copy link
Member

kdy1 commented Dec 9, 2024

cc @Brooooooklyn Is linux-arm64-gnu valid napi target?

@Brooooooklyn
Copy link
Member

@pan93412 you can use swc-linux-arm64-musl

@pan93412
Copy link
Contributor Author

@pan93412 you can use swc-linux-arm64-musl

Yes, it works. However, there’s a library that downloads the SWC binary based on the runtime, and the missing of “glibc” prevents the library from downloading the latest SWC binaries. 😢

I may create a PR for that library to ensure it always downloads the musl version if napi-rs would not generate the glibc version anymore.

@kdy1 kdy1 removed their assignment Dec 31, 2024
@kdy1 kdy1 modified the milestone: Planned Dec 31, 2024
@lxjyo
Copy link

lxjyo commented Jan 3, 2025

I have the similar problem. My version is 1.10.4, platform is darwin and arm64. It throw "Failed to load native binding".

@pan93412
Copy link
Contributor Author

pan93412 commented Jan 3, 2025

I have the similar problem. My version is 1.10.4, platform is darwin and arm64. It throw "Failed to load native binding".

It might not be the same problem. You might need to open another issue to track it well.

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

No branches or pull requests

4 participants