Hello. Does Deno support Android? I haven't tried using rust on Android yet, but it'd be lovely to be able to mix in some Deno to an Android app a powerful embedded/scripting runtime. Thought I'd ask. What feats might be required to push this forward, if not?
Hello @rektide - it has been a long time since I've seen your avatar : )
Deno could support Android, but it's going to be some work. First thing would be to get rusty_v8 to build.
Here's the first thing I would try:
GN_ARGS='target_os="android" target_cpu="arm"' cargo build -vv --target aarch64-linux-android
Once RustyV8 builds there, it should be pretty easy to port Deno. Does Github Actions support Android arm?
Hello !
I'm a newbie on rust so every things I will say can be obvious for you.
I tried building it for aarch64-linux-android, so I installed the target with rustup:
rustup target add aarch64-linux-android
After running:
GN_ARGS='target_os="android" target_cpu="arm"' cargo build --verbose --target aarch64-linux-android
I've had the following error:
error occurred: Failed to find tool. Is `aarch64-linux-android-clang` installed?
I search for it with rustup toolchain list but I've only one toolchain stable-x86_64-apple-darwin (default) and I didn't find a way to add another.
Obviously I'm on OSX, maybe other toolchains aren't accessible or maybe I need to have the appropriate arch and os to build it.
I'm really interested to have a first version running on android and maybe help to share deno on java repositories.
EDIT:
I found this post that explain how to install targets and setup everything to run android app with rust https://medium.com/visly/rust-on-android-19f34a2fb43
Most helpful comment
Hello @rektide - it has been a long time since I've seen your avatar : )
Deno could support Android, but it's going to be some work. First thing would be to get rusty_v8 to build.
Here's the first thing I would try:
Once RustyV8 builds there, it should be pretty easy to port Deno. Does Github Actions support Android arm?