[root@hk2 termscp]# rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /root/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
stable-x86_64-unknown-linux-musl
installed targets for active toolchain
--------------------------------------
armv7-unknown-linux-gnueabihf
armv7-unknown-linux-musleabihf
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.71.0 (8ede3aae2 2023-07-12)
[root@hk2 termscp]# armv7l-linux-musleabihf-gcc --version
armv7l-linux-musleabihf-gcc (GCC) 11.2.1 20211120
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Description
Create a workflow to Cross-compilation armv7 artifacts directly on GitHub (manual launch).
i try: rustup target add armv7-unknown-linux-musleabihf and download linker from https://musl.cc/armv7l-linux-musleabihf-cross.tgz;
cat .cargo/config:
run
ande get some error: