Skip to content

Commit

Permalink
fix: tag onig to be able to reproduce deterministic build
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Jul 7, 2023
1 parent ec28067 commit 07cc666
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
7 changes: 0 additions & 7 deletions rust/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
load("@rules_rust//cargo:defs.bzl", "cargo_bootstrap_repository")

filegroup(
name = "pact_bin",
srcs = [
"@pact_verifier_cli"
],
)

filegroup(
name = "pact_verifier_cli",
srcs = ["//pact_verifier_cli"],
Expand Down
4 changes: 2 additions & 2 deletions rust/Cargo.lock

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

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ exclude = [
]

[patch.crates-io]
onig = { git = "https://github.com/rust-onig/rust-onig", default-features = false, branch = "main" }
onig = { git = "https://github.com/rust-onig/rust-onig", default-features = false, rev = "fa90c0e97e90a056af89f183b23cd417b59ee6a2" }
4 changes: 4 additions & 0 deletions rust/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ crates_repository(
"os_info": crate.spec(
version = "3.5.1",
)},
annotations = {
"onig": [crate.annotation(
shallow_since = "1686508130 +0100",
)]}
)

load("@crate_index//:defs.bzl", "crate_repositories")
Expand Down
7 changes: 4 additions & 3 deletions rust/cargo-bazel-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "ee8e8782851d487e5e4e0f74dde52e00c852db12df0405404008c71e31cfe3c6",
"checksum": "92d28299bbd5288e1d7398ffff4d5da5a083f6f867219cae6bf5448df9961797",
"crates": {
"addr2line 0.19.0": {
"name": "addr2line",
Expand Down Expand Up @@ -7642,8 +7642,9 @@
"Git": {
"remote": "https://github.com/rust-onig/rust-onig",
"commitish": {
"Branch": "main"
"Rev": "fa90c0e97e90a056af89f183b23cd417b59ee6a2"
},
"shallow_since": "1686508130 +0100",
"strip_prefix": "onig"
}
},
Expand Down Expand Up @@ -7699,7 +7700,7 @@
"Git": {
"remote": "https://github.com/rust-onig/rust-onig",
"commitish": {
"Branch": "main"
"Rev": "fa90c0e97e90a056af89f183b23cd417b59ee6a2"
},
"strip_prefix": "onig_sys"
}
Expand Down

0 comments on commit 07cc666

Please sign in to comment.