Skip to content

Commit

Permalink
Cargo.toml: Remove minijail
Browse files Browse the repository at this point in the history
[[patch.unused]] is causing cargo and rules_rust to disagree on
the number of final newlines in Cargo.lock. Remove minijail so
we don't have that section.

FIXED=b:373790890
TEST=cargo test  # does not change the content of Cargo.lock

Change-Id: I820a26c5eaf6af17a046b42af3431b8e4e5d6d94
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5934025
Commit-Queue: Li-Yu Yu <[email protected]>
Tested-by: [email protected] <[email protected]>
Reviewed-by: Cranel W <[email protected]>
  • Loading branch information
afq984 authored and Chromeos LUCI committed Oct 16, 2024
1 parent ef17c76 commit afb82f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "729a3f8be17a10ba6b00ad3f6b5535c0ddcfda3516b7034897dc7dfc28882ceb",
"checksum": "97af6a34e5b183090388043ecb16559caed8153a5d49318982f9051ec3dadc9c",
"crates": {
"addr2line 0.20.0": {
"name": "addr2line",
Expand Down
5 changes: 0 additions & 5 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ zerocopy = "0.7.32"
# ChromiumOS crates
system_api = "*" # provided by ebuild
featured = "*" # provided by ebuild
minijail = "*" # provided by ebuild

[patch.crates-io]
# When building out of ChromiumOS, we do not actually use system_api.
Expand All @@ -100,4 +99,3 @@ system_api = { path = "repositories/system_api_stub" } # ignored by ebuild
# system_api = { path = "../../platform2/system_api" } # ignored by ebuild

featured = { path = "repositories/featured_stub" } # ignored by ebuild
minijail = { path = "repositories/minijail_stub" } # ignored by ebuild

0 comments on commit afb82f9

Please sign in to comment.