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

Add support for Android Termux #38

Open
xJonathanLEI opened this issue Apr 8, 2022 · 3 comments
Open

Add support for Android Termux #38

xJonathanLEI opened this issue Apr 8, 2022 · 3 comments

Comments

@xJonathanLEI
Copy link

I want to use foundry on Android for smart contract development, but it fails to build. After some digging it turns out to be svm-rs not supporting Android.

platform::platform() returns Unsupported.

env::consts::OS = "android"
env::consts::ARCH = "aarch64"
@xJonathanLEI
Copy link
Author

I'm working on building up an Android version of solc-bin, which svm-rs can use. Creating this issue first to check whether Android support is desired :)

@roynalnaruto
Copy link
Collaborator

Hi @xJonathanLEI if you're able to build the solc binary for the Android target, happy to support Android in svm-rs.

You can create a PR to push the built binary to solc-builds under a new directory. Once ready, we can then offer the android versions via svm-builds as well.

@xJonathanLEI
Copy link
Author

Sure will do! Thanks!

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