Skip to content

Commit

Permalink
Remove hardcoded local path to rust lib
Browse files Browse the repository at this point in the history
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.

rust-lang/cargo#1851
  • Loading branch information
oowekyala committed Jul 13, 2021
1 parent b7eb2f3 commit 790a715
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions org.lflang/src/org/lflang/generator/rust/RustEmitter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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://[email protected]:icyphy/reactor-rust.git"
|path = "/home/clem/Documents/Cours/rust-reactors"
|git = "ssh://[email protected]/icyphy/reactor-rust.git"
|
|[[bin]]
|name = "${gen.executableName}"
Expand Down

0 comments on commit 790a715

Please sign in to comment.