From 790a71534443695b21504f4bc669066fb019be48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Tue, 13 Jul 2021 16:05:04 +0200 Subject: [PATCH] Remove hardcoded local path to rust lib Now we use an ssh connection to access the github repo. Be aware that you need a credentials helper for this to work as the repo is private and cargo will not prompt for a password. https://github.com/rust-lang/cargo/issues/1851 --- org.lflang/src/org/lflang/generator/rust/RustEmitter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.lflang/src/org/lflang/generator/rust/RustEmitter.kt b/org.lflang/src/org/lflang/generator/rust/RustEmitter.kt index d76efe3ad0..3216403993 100644 --- a/org.lflang/src/org/lflang/generator/rust/RustEmitter.kt +++ b/org.lflang/src/org/lflang/generator/rust/RustEmitter.kt @@ -242,8 +242,7 @@ ${" |"..gen.reactors.joinToString("\n") { "mod ${it.modName};\npub use s |[dependencies.$runtimeCrateFullName] |#-- The reactor runtime --# |# See https://doc.rust-lang.org/cargo/appendix/git-authentication.html#ssh-authentication - |# git = "ssh://git@github.com:icyphy/reactor-rust.git" - |path = "/home/clem/Documents/Cours/rust-reactors" + |git = "ssh://git@github.com/icyphy/reactor-rust.git" | |[[bin]] |name = "${gen.executableName}"