代码只输出helloword fn main() { println!("helloword!"); }
执行编译命令 cargo build --target x86_64-unknown-linux-gnu
报错
linking with cc
failed: exit code: 1
= note: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: unrecognized option '--eh-frame-hdr' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status
1
共 1 条评论, 1 页
评论区
写评论请问楼主解决了没?