编译报错
cargo build --target=x86_64-unknown-linux-gnu
安装 x86_64-linux-gnu-gcc
sudo pacman -Ss x86_64-linux-gnu-gcc
.bashrc文件中添加
# for Cargo
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/x86_64-linux-gnu-gcc
x86_64-unknown-linux-musl还是报 note: cc: error: unrecognized command-line option '-m64'
打算安装https://github.com/richfelker/musl-cross-make试下