Skip to content

Commit

Permalink
Add commit information to roc versions built from source
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasnep committed Sep 1, 2024
1 parent a1c9273 commit 6d0a9b6
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 24 deletions.
188 changes: 174 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "roc_cli"
description = "The Roc binary that brings together all functionality in the Roc toolset."
default-run = "roc"
build = "build.rs"

authors.workspace = true
edition.workspace = true
Expand Down Expand Up @@ -30,7 +31,13 @@ target-wasm32 = ["roc_build/target-wasm32"]
target-x86 = ["roc_build/target-x86", "roc_repl_cli/target-x86"]
target-x86_64 = ["roc_build/target-x86_64", "roc_repl_cli/target-x86_64"]

target-all = ["target-aarch64", "target-arm", "target-x86", "target-x86_64", "target-wasm32"]
target-all = [
"target-aarch64",
"target-arm",
"target-x86",
"target-x86_64",
"target-wasm32",
]

sanitizers = ["roc_build/sanitizers"]

Expand Down Expand Up @@ -93,6 +100,9 @@ parking_lot.workspace = true
pretty_assertions.workspace = true
serial_test.workspace = true

[build-dependencies]
vergen-gitcl = { version = "1.0.0", features = ["emit_and_set"] }

[[bench]]
name = "time_bench"
harness = false
Loading

0 comments on commit 6d0a9b6

Please sign in to comment.