Skip to content

Commit 07cc666

Browse files
committed
fix: tag onig to be able to reproduce deterministic build
1 parent ec28067 commit 07cc666

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

rust/BUILD.bazel

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
load("@rules_rust//cargo:defs.bzl", "cargo_bootstrap_repository")
22

3-
filegroup(
4-
name = "pact_bin",
5-
srcs = [
6-
"@pact_verifier_cli"
7-
],
8-
)
9-
103
filegroup(
114
name = "pact_verifier_cli",
125
srcs = ["//pact_verifier_cli"],

rust/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ exclude = [
1515
]
1616

1717
[patch.crates-io]
18-
onig = { git = "https://github.com/rust-onig/rust-onig", default-features = false, branch = "main" }
18+
onig = { git = "https://github.com/rust-onig/rust-onig", default-features = false, rev = "fa90c0e97e90a056af89f183b23cd417b59ee6a2" }

rust/WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ crates_repository(
4040
"os_info": crate.spec(
4141
version = "3.5.1",
4242
)},
43+
annotations = {
44+
"onig": [crate.annotation(
45+
shallow_since = "1686508130 +0100",
46+
)]}
4347
)
4448

4549
load("@crate_index//:defs.bzl", "crate_repositories")

rust/cargo-bazel-lock.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "ee8e8782851d487e5e4e0f74dde52e00c852db12df0405404008c71e31cfe3c6",
2+
"checksum": "92d28299bbd5288e1d7398ffff4d5da5a083f6f867219cae6bf5448df9961797",
33
"crates": {
44
"addr2line 0.19.0": {
55
"name": "addr2line",
@@ -7642,8 +7642,9 @@
76427642
"Git": {
76437643
"remote": "https://github.com/rust-onig/rust-onig",
76447644
"commitish": {
7645-
"Branch": "main"
7645+
"Rev": "fa90c0e97e90a056af89f183b23cd417b59ee6a2"
76467646
},
7647+
"shallow_since": "1686508130 +0100",
76477648
"strip_prefix": "onig"
76487649
}
76497650
},
@@ -7699,7 +7700,7 @@
76997700
"Git": {
77007701
"remote": "https://github.com/rust-onig/rust-onig",
77017702
"commitish": {
7702-
"Branch": "main"
7703+
"Rev": "fa90c0e97e90a056af89f183b23cd417b59ee6a2"
77037704
},
77047705
"strip_prefix": "onig_sys"
77057706
}

0 commit comments

Comments
 (0)