-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
forge
downloads amd64 solc
binary for aarch64 Linux
#597
Comments
The bug is in svm-rs here. Then we'd need to:
|
Ok, so it doesn't seem like there are any Solidity arm64 binaries available going by https://github.com/ethereum/solc-bin. If you want to run with a custom version, try passing the |
nevertheless we should check for arm on svm-rs cc @roynalnaruto |
True, the platform detection should be more robust by checking the arch in general |
This should be fixed the next time we do an update of svm-rs in ethers-solc and update ethers-solc here |
closes foundry-rs/foundry#597 due to alloy-rs/svm-rs#15 closes foundry-rs/foundry#641 due to gakonst/ethers-rs#846
closes foundry-rs/foundry#597 due to alloy-rs/svm-rs#15 closes foundry-rs/foundry#641 due to gakonst/ethers-rs#846
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.1.0 (8ccfe49 2022-01-25T13:43:18.881673196+00:00)
What command(s) is the bug in?
forge test
Operating System
Linux
Describe the bug
Hi 👋
When I run
forge test
it automatically downloads the$HOME/.svm/0.8.11/solc-0.8.11
binary for Linux to compile my contracts. However, it downloads amd64 version of the binary even though I'm running aarch64 version of Linux.When I manually replace the binary with aarch64 version of the binary
forge test
puts amd64 version back.What could I do in this case to use
forge test
on aarch64 Linux?Thanks!
The text was updated successfully, but these errors were encountered: