Skip to content

Commit

Permalink
Let rust examples use the published crate
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambertz committed Jul 6, 2020
1 parent 1f2504c commit a5b0f58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions examples/hermitrust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rftrace = {path="../../rftrace", features=["buildcore","autokernel"]}
rftrace-frontend = {path="../../rftrace-frontend"}
#rftrace = {path="../../rftrace", features=["buildcore","autokernel"]}
rftrace = {version="0.1.0", features=["buildcore","autokernel"]}
#rftrace-frontend = {path="../../rftrace-frontend"}
rftrace-frontend = "0.1.0"


[target.'cfg(target_os = "hermit")'.dependencies]
#hermit-sys = {version="0.1.*", features=["instrument"]}
hermit-sys = {git="https://github.com/tlambertz/rusty-hermit", branch="instrument-tmp", features=["instrument"]}
hermit-sys = {git="https://github.com/tlambertz/rusty-hermit", branch="instrument-pull", features=["instrument"]}

[profile.release]
opt-level = 3
Expand Down
7 changes: 5 additions & 2 deletions examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rftrace = {path="../../rftrace"}
rftrace-frontend = {path="../../rftrace-frontend"}
#rftrace = {path="../../rftrace"}
rftrace = "0.1.0"

#rftrace-frontend = {path="../../rftrace-frontend"}
rftrace-frontend = "0.1.0"

0 comments on commit a5b0f58

Please sign in to comment.