代码拉取完成,页面将自动刷新
From 482bc883118609ac251b1ef496f61aec74fdedfd Mon Sep 17 00:00:00 2001
From: desert-sailor <dongxing.wang_a@thundersoft.com>
Date: Thu, 30 Nov 2023 19:12:15 +0800
Subject: [PATCH] set cargo vendor cache for local build
---
.cargo/config.toml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 59c989e..5f92489 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -8,4 +8,10 @@ rustflags = [
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
-]
\ No newline at end of file
+]
+
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "native/vendor"
--
2.41.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。