-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
Description
When upgrading to rules_rust 0.66 from 0.65 we see this error:
D:\workdir\gitlab\plm\tc\servicemesh>bazel build //...
INFO: Analyzed 229 targets (2186 packages loaded, 86137 targets configured).
ERROR: D:/udu/b/jsuyf6jg/external/rules_rust+/cargo/private/BUILD.bazel:4:12: Compiling Rust bin copy_file (1 files) [for tool] failed: (Exit 1): process_wrapper.exe failed: error executing Rustc command (from target @@rules_rust+//cargo/private:copy_file) bazel-out\x64_windows-opt-exec-ST-ec4a08ce3b65\bin\external\rules_rust+\util\process_wrapper\process_wrapper.exe --subst pwd=${pwd} -- ... (remaining 55 arguments skipped)
error: linking with `external/tc_toolchain+/toolchain/x64-windows/14.42.34433/link.exe` failed: exit code: 1181
|
= note: "external/tc_toolchain+/toolchain/x64-windows/14.42.34433/link.exe" "/NOLOGO" "C:\\Users\\browchri.PLM\\AppData\\Local\\Temp\\rustclVmcWj\\symbols.o" "<2 object files omitted>" "<sysroot>\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib/{libstd-*,libpanic_unwind-*,libwindows_targets-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libunwind-*,libcfg_if-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "kernel32.lib" "kernel32.lib" "kernel32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "dbghelp.lib" "/defaultlib:msvcrt" "/NXCOMPAT" "/LIBPATH:<sysroot>/lib/rustlib/x86_64-pc-windows-msvc/lib" "/OUT:bazel-out/x64_windows-opt-exec-ST-ec4a08ce3b65/bin/external/rules_rust+/cargo/private/copy_file.exe" "/OPT:REF,ICF" "/DEBUG" "/PDBALTPATH:%_PDB%" "/nologo" "/SUBSYSTEM:CONSOLE" "/NOLOGO" "/MACHINE:X64" "/NODEFAULTLIB" "delayimp.lib" "kernel32.lib" "/DYNAMICBASE" "/NXCOMPAT" "/Brepro" "/experimental:deterministic" "/NOLOGO" "/MACHINE:X64" "/NODEFAULTLIB" "delayimp.lib" "kernel32.lib" "/DYNAMICBASE" "/NXCOMPAT" "/Brepro" "/experimental:deterministic" "ucrt.lib" "vcruntime.lib" "msvcrt.lib" "msvcprt.lib" "oldnames.lib" "/DEBUG:FULL" "/INCREMENTAL:NO" "/pdbaltpath:%_PDB%" "/OPT:ICF" "/OPT:REF" "-LIBPATH:C:\\apps\\MVS17124\\VC\\Tools\\MSVC\\14.42.34433\\ATLMFC\\lib\\x64" "-LIBPATH:C:\\apps\\MVS17124\\VC\\Tools\\MSVC\\14.42.34433\\lib\\x64" "-LIBPATH:C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64" "-LIBPATH:C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.26100.0\\ucrt\\x64" "-LIBPATH:C:\\Program Files (x86)\\Windows Kits\\10\\\\lib\\10.0.26100.0\\\\um\\x64"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: LINK : fatal error LNK1181: cannot open input file 'Files.obj'␍␍
Reactions are currently unavailable