44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
From 726d90c0e9487273f556a1422a37f6b65e75b2d8 Mon Sep 17 00:00:00 2001
|
|
From: liuxu <liuxu156@huawei.com>
|
|
Date: Thu, 28 Nov 2024 21:24:11 +0800
|
|
Subject: [PATCH] add ttrpc-rust to use vendor
|
|
|
|
Signed-off-by: liuxu <liuxu156@huawei.com>
|
|
---
|
|
vmm/sandbox/.cargo/config.toml | 4 ++++
|
|
vmm/task/.cargo/config.toml | 4 ++++
|
|
2 files changed, 8 insertions(+)
|
|
|
|
diff --git a/vmm/sandbox/.cargo/config.toml b/vmm/sandbox/.cargo/config.toml
|
|
index 148c98af..0740e49a 100644
|
|
--- a/vmm/sandbox/.cargo/config.toml
|
|
+++ b/vmm/sandbox/.cargo/config.toml
|
|
@@ -9,6 +9,10 @@ replace-with = "vendored-sources"
|
|
git = "https://github.com/kuasar-io/rust-extensions.git"
|
|
replace-with = "vendored-sources"
|
|
|
|
+[source."git+https://github.com/kuasar-io/ttrpc-rust.git"]
|
|
+git = "https://github.com/kuasar-io/ttrpc-rust.git"
|
|
+replace-with = "vendored-sources"
|
|
+
|
|
[source.vendored-sources]
|
|
directory = "vendor"
|
|
|
|
diff --git a/vmm/task/.cargo/config.toml b/vmm/task/.cargo/config.toml
|
|
index c7f73e86..906faaac 100644
|
|
--- a/vmm/task/.cargo/config.toml
|
|
+++ b/vmm/task/.cargo/config.toml
|
|
@@ -5,5 +5,9 @@ replace-with = "vendored-sources"
|
|
git = "https://github.com/kuasar-io/rust-extensions.git"
|
|
replace-with = "vendored-sources"
|
|
|
|
+[source."git+https://github.com/kuasar-io/ttrpc-rust.git"]
|
|
+git = "https://github.com/kuasar-io/ttrpc-rust.git"
|
|
+replace-with = "vendored-sources"
|
|
+
|
|
[source.vendored-sources]
|
|
directory = "vendor"
|
|
--
|
|
2.43.0
|
|
|