All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/rustc: allow cargo sub packages to download using 'git'
@ 2021-02-21  7:51 guillaume.bressaix at gmail.com
  2021-02-21  8:20 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: guillaume.bressaix at gmail.com @ 2021-02-21  7:51 UTC (permalink / raw)
  To: buildroot

From: "Guillaume W. Bres" <guillaume.bressaix@gmail.com>

Adding this simple command to the general cargo configuration
will allow sub packages (with their own cargo.toml file)
to resolve dependencies using 'git'. Without this,
we only support builtin packages or manually downloaded
packages refered to with a local full path.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
---
 package/rustc/cargo-config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/rustc/cargo-config.in b/package/rustc/cargo-config.in
index 47fad026be..be4c401f97 100644
--- a/package/rustc/cargo-config.in
+++ b/package/rustc/cargo-config.in
@@ -1,2 +1,5 @@
 [target. at RUSTC_TARGET_NAME@]
 linker = "@CROSS_PREFIX at gcc"
+
+[net]
+git-fetch-with-cli = true
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-21 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-21  7:51 [Buildroot] [PATCH] package/rustc: allow cargo sub packages to download using 'git' guillaume.bressaix at gmail.com
2021-02-21  8:20 ` Yann E. MORIN
2021-02-21 15:01   ` Guillaume Bres
2021-02-21 16:07     ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.