I'm trying to build an existing rust program, and am running into a link error that I don't know how to fix.
\sadmc-a69c735667542837.exe" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\smay9\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\smay9\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\smay9\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\smay9\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'm.lib'
Presumably it is a problem with my Microsoft C++ Build Tools installation? cargo check
works just fine, but cargo build
fails.
Any suggestions on how to fix this? Thanks!