We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e434e14 commit 85945a3Copy full SHA for 85945a3
src/Makevars.ucrt
@@ -8,7 +8,10 @@ all: clean rustup
8
$(SHLIB): $(STATLIB)
9
10
$(STATLIB):
11
+ifeq ($(TARGET),x86_64-pc-windows-gnu)
12
+ @echo Building for $(TARGET) from vendor.tar.xz sources!
13
if [ -f myrustlib/vendor.tar.xz ]; then tar xf myrustlib/vendor.tar.xz && mkdir -p .cargo && cp myrustlib/vendor-config.toml .cargo/config.toml; fi
14
+endif
15
PATH="$(USERPROFILE)\\.cargo\\bin:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
16
rm -Rf $(LIBDIR)/build
17
0 commit comments