We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 797f5d9 commit c517a0aCopy full SHA for c517a0a
src/Makevars.win
@@ -13,8 +13,10 @@ PKG_LIBS = -L$(LIBDIR) -lmyrustlib -lws2_32 -ladvapi32 -luserenv -ldbghelp -lbcr
13
ifeq ($(R_COMPILED_BY),gcc 8.3.0)
14
GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/mingw$(WIN)/bin
15
else
16
+# Either rtools40 or rtools42 ucrt toolchain is OK
17
+GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/ucrt64/bin
18
+GCCPATH+=:$(R_RTOOLS42_PATH)
19
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=gcc
-GCCPATH=$(subst C:\,/c/,$(RTOOLS42_HOME))/x86_64-w64-mingw32.static.posix/bin
20
endif
21
22
all: clean rustup
0 commit comments