Hi, I submitted a "naive" PR at http://github.com/termux/packages to get wasm32-wasi target main stream.
the build process is quite heavy (afaik built on fossorg servers) and anyone efficient at building termux packages is welcome to contribute ...
the correct url is: https://github.com/termux/termux-packages
(I've moved this into its own thread so it stands out)
I'm not familiar with termux; could you say more about what termux packages are?
termux packages are in debian package format except compiled for android -- basically a linux distribution for android
What does wasm32-wasi support mean in this context?
Is the PR this one? https://github.com/termux/termux-packages/pull/11243
It looks like the initial wasm32-wasi support resembles wasm32-unknown-unknown. That's a reasonable place to start, but I'm curious what kinds of packages can be compiled for wasm32-unknown-unknown.
oops didn't get notifications
yes,the above is the pr
I'm using wasi to get ui modules based
on the core/gui native framework developped here: quite impressive due to a largely shared cross platform codebase
(right now android and windows,linux will
be tested "rsn")
an optimized wasi module brings you a simple gui applcation in say 64k)
compiling such an app using termux is very handy (think of: if I can do it there,I can do it anywhere :)
i m using the wasi target on termux already but need to get a linux distro and rustup there : on recent smartphones it's ok. using a 3/32 Go redmi note 5 non rooted it's a juggler challenge :)
well, if you don't mind waiting a day and a half, you can try compiling rustc on your phone ... I tried that for fun but gave up after several hours.
iirc I got llvm to finish compiling though. :P
yes , did a custom rustc apk where you invoke rustc from unix sockets , dynamically load the resulting llvm module and are ready to go ...
from termux ...
no pc involved
I will complete the pr soon or later, just hoping someone would jump in lol
Last updated: Dec 23 2024 at 12:05 UTC