Skip to content

Commit 85945a3

Browse files
committed
Do not use vendored code on aarch64
1 parent e434e14 commit 85945a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Makevars.ucrt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ all: clean rustup
88
$(SHLIB): $(STATLIB)
99

1010
$(STATLIB):
11+
ifeq ($(TARGET),x86_64-pc-windows-gnu)
12+
@echo Building for $(TARGET) from vendor.tar.xz sources!
1113
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
1215
PATH="$(USERPROFILE)\\.cargo\\bin:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
1316
rm -Rf $(LIBDIR)/build
1417

0 commit comments

Comments
 (0)