This is the first rust build release of rockchip npu, cpu, memory, soc thermal usage meter( It is build upon arm 32 bit tested on ev1106g3)
sudo apt install gcc-arm-linux-gnueabihf
sudo dnf copr enable lantw44/arm-linux-gnueabihf-toolchain
sudo dnf install arm-linux-gnueabihf-{binutils,gcc,glibc}
Install full rust toolchain from this website https://www.rust-lang.org/tools/install
git clone https://github.com/Biswas005/rknuptop.git
cd rknuptop
rustup target add armv7-unknown-linux-musleabihf
cargo build --target=armv7-unknown-linux-musleabihf --release
This command already optimizes your code
cd target/armv7-unknown-linux-musleabihf/release
cd ~/{PATH-TO-rknuptop}/rknuptop/target/armv7-unknown-linux-musleabihf/release