Compiling demo v0.1.0(E:\project\rust\demo)error:linkingwith`x86_64-w64-mingw32-gcc`failed:exit code:1|=note:"x86_64-w64-mingw32-gcc""-fno-use-linker-plugin""-Wl,--dynamicbase""-Wl,--disable-auto-image-base""-m64""-Wl,--high-entropy-va""E:\\tools\\rust\\rustup\\toolchains...
RUST error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1,程序员大本营,技术文章内容聚合第一站。
target.x86_64-pc-windows-gnu]表下添加linker = "lld-link"吗?或者,尝试CARGO_TARGET_X86_64_PC...
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1 note: main.main.7rcbfp3g-cgu.3.rcgu.o:main.7rcbfp3g-cgu.:(.text+0x4c): undefined reference to `_Unwind_Resume' General version info rustup 1.22.1 (b01adbbc3 2020-07-08) ...
target.x86_64-pc-windows-gnu]表下添加linker = "lld-link"吗?或者,尝试CARGO_TARGET_X86_64_PC...