biome
biome copied to clipboard
đ Android platform support (termux)
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
- [x] I agree to follow Biome's Code of Conduct
https://github.com/rust-lang/rust/issues/119306
Can you explain how this issue is related to https://github.com/rust-lang/rust/issues/119306? We already explained there that Rust supports Android targets, we just don't automatically build releases that support termux as a host.
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?
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.
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