I’ve always avoided rust as its syntax seems even more cryptic than latest C++2x…, but it seems to be weirdly functional on device. Importantly do not attempt to ‘pkcon install rust cargo’ as you’ll end up with shell stumps that complain about scratchbox and 300+ mb less on your rootfs. Rust installs nicely through curl:
No devel-su needed, gracefully installs in ~/.cargo so no need to worry about rootfs at all. First thing I tried took 5 minutes to ‘cargo run’ compiling some 390 crates and worked flawlessly out of the box (keys.openpgp.org / hagrid · GitLab). Not much use on device (unless you feed it keys and use as a drop in replacement for hkp, should work), so tried with sequoia-sq, gplv2 replacement for gnupg, sadly this OOMs, even with extra 4Gb swap. I believe it’s because of /tmp size, but not sure and there is no way to reuse artifacts so every attempt takes 15min/~7%battery, anybody knows if mount/remount of /tmp is safe on sfos? Used to work nicely on N900/maemo, but couldn’t find any thread on this for sfos and it’s my personal production device so don’t want to risk it.