summarylogtreecommitdiffstats
path: root/0002-AUR-Do-not-update-cargo-crates.patch
blob: 3c1252a0e957eac79fa5feca9452b02283070487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 6d5f98c78464cf495b8473c94212818bf9df6eb3 Mon Sep 17 00:00:00 2001
From: Stelios Tsampas <loathingkernel@gmail.com>
Date: Sun, 19 Mar 2023 10:56:59 +0200
Subject: [PATCH 2/7] AUR Do not update cargo crates

---
 make/rules-cargo.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/make/rules-cargo.mk b/make/rules-cargo.mk
index 00fa99fc..225ab528 100644
--- a/make/rules-cargo.mk
+++ b/make/rules-cargo.mk
@@ -13,8 +13,6 @@ $$(OBJ)/.$(1)-configure$(3):
 $$(OBJ)/.$(1)-build$(3):
 	@echo ":: building $(3)bit $(1)..." >&2
 	cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \
-	cargo update --locked --offline --verbose --workspace
-	cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \
 	cargo build \
 	      -j$$(SUBJOBS) --locked --offline --verbose \
 	      --target "$$(CARGO_TARGET_$(3))" \
-- 
2.44.0