Open fyhong opened 12 months ago
Looks like Rust has support for ARMv5TE. Guess you can refer to some cross-compiling practices and see if things works.
You can try:
rustup
;armv5te-unknown-linux-musleabi
, then also save it in a variable for convenience export TARGET=armv5te-unknown-linux-musleabi
;rustup target add $TARGET
;tls
feature on. If that's not necessary for your use case, run
cargo build --release --target $TARGET \
--no-default-features --features noise,client,server,hot-reload \
--config target.$TARGET.linker=\"rust-lld\"
For reference:
I just compiled a rathole binary package for Allwinner F1C200S
. It targets Armv5tejl
. The rothole version of the binary is v0.4.8
.It can be downloaded via this link. Hope to help you.click to dowolad-armv5tejl
That's good to have but I'm not sure which target triple most people need
我的路由设备比较旧, 只支持armv5