-
Notifications
You must be signed in to change notification settings - Fork 733
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
Unable to build for wasm32-unknown-unknown on macOS with Apple Clang #1824
Comments
Apple Clang is a fork of Clang that is specialized to Apple's wishes. It doesn't support wasm32-unknown-unknown, at least when I tried. You need to download and use llvm.org Clang instead. |
2 tasks
For anyone who has had this issue and is arriving here in the future, here's what you need to do: Install Homebrew (if you haven't already): /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Install LLVM Clang: brew install llvm Verify the installation: llvm-config --version Export the correct PATH: echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build ring for
wasm32-unknown-unknown
, and it works fine on my linux based machines (x68_64) but when trying to build on my mac (aarch64) it fails with the following errorI tried to find sth in the issues, but was unable to find any hints of what I am doing wrong/not setting. Appreciate any help!
The text was updated successfully, but these errors were encountered: