Skip to content

🐛 Android platform support (termux) #1340

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

Closed
1 task done
sebastianjnuwu opened this issue Dec 25, 2023 · 6 comments
Closed
1 task done

🐛 Android platform support (termux) #1340

sebastianjnuwu opened this issue Dec 25, 2023 · 6 comments

Comments

@sebastianjnuwu
Copy link

sebastianjnuwu commented Dec 25, 2023

Environment information

OS: Android 8.1.0 armv7l

What happened?

I try to run the biome in termux but it seems that the CLI does not support Android, I am running it in termux. Is there really no support for Android or is it my mistake? If there is no support, will there be?

Expected result

That the CLI worked in termux

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@sebastianjnuwu
Copy link
Author

Screenshot_20231225-154741~2
Screenshot_20231225-160340~2

@sebastianjnuwu
Copy link
Author

rust-lang/rust#119306

@saethlin
Copy link

Can you explain how this issue is related to rust-lang/rust#119306? We already explained there that Rust supports Android targets, we just don't automatically build releases that support termux as a host.

@sebastianjnuwu
Copy link
Author

Você pode explicar como esse problema está relacionado a rust-lang/rust#119306 ? Já explicamos lá que Rust suporta alvos Android, apenas não construímos automaticamente versões que suportam termux como host.

For the biome to work on my device, it has to have the binaries of my platform, right? And to do that you need to build it. Is this how the problem is related, or am I making something wrong?

@saethlin
Copy link

Rust supports building executables that run on Android/termux. We just do not distribute compilers that run on Android/termux. You can run the compiler on another platform and using --target have it generate artifacts that work on Android. This is generally called cross-compilation and is normal for mobile development.

@ematipico
Copy link
Member

I am going to close this issue, because it's not a bug. It's an enhancement that requires tooling to build Biome for this specific platform. If someone wants to help, you're welcome to submit an discussion/PR

@ematipico ematipico closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
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

3 participants