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

Error to build on mac m1 #18

Open
dfernandesbsolus opened this issue Feb 5, 2024 · 1 comment
Open

Error to build on mac m1 #18

dfernandesbsolus opened this issue Feb 5, 2024 · 1 comment

Comments

@dfernandesbsolus
Copy link

dfernandesbsolus commented Feb 5, 2024

Hey i try to compile axum-js on mac m1, but i have some problems and my skills with Rust is limited, do you know something about this?

image

Os:
MacOSX 13.0

Chipset:
Apple M1

Rust Version:
1.75.0

image

PS: I know the M1 is not supported, but is there anything I can do?

@Daniel-Boll
Copy link
Owner

Hello @dfernandesbsolus,

Although I don't have an M1 Mac for testing, it's worth noting that napi.rs does indeed support ARM architectures, as highlighted in their platform support section. The primary issue here seems to be that the darwin-arm64 target wasn't initially considered in the axum-js project setup. However, this doesn't necessarily preclude you from building the project on your M1 Mac.

To better assist you, could you please share the specific command you're using to attempt the build?

On the library front, I am open to incorporating darwin-arm64 support into axum-js. This addition could potentially resolve your problem and benefit others in the community using M1 Macs.

Looking forward to your response, and I'm here to help in any way I can.

Best Regards,
Daniel Boll. 🎴

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

No branches or pull requests

2 participants