biome icon indicating copy to clipboard operation
biome copied to clipboard

🐛 Android platform support (termux)

Open sebastianjnuwu opened this issue 1 year ago ‱ 2 comments

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

sebastianjnuwu avatar Dec 25 '23 19:12 sebastianjnuwu

Screenshot_20231225-154741~2 Screenshot_20231225-160340~2

sebastianjnuwu avatar Dec 25 '23 19:12 sebastianjnuwu

https://github.com/rust-lang/rust/issues/119306

sebastianjnuwu avatar Dec 25 '23 23:12 sebastianjnuwu

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.

saethlin avatar Dec 27 '23 19:12 saethlin

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?

sebastianjnuwu avatar Dec 27 '23 21:12 sebastianjnuwu

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.

saethlin avatar Dec 27 '23 21:12 saethlin

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 avatar Mar 04 '24 09:03 ematipico