Skip to content

Commit 9763168

Browse files
David Tolnayfacebook-github-bot
authored andcommitted
Propagate patches into generated Cargo.toml
Summary: Without this, since D74659779, Reindeer's Cargo.lock is left in a dirty state by any Cargo commands run in the git repo. ```lang=log $ git status HEAD detached at origin/main nothing to commit, working tree clean $ cargo check Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s $ git status HEAD detached at origin/main Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: Cargo.lock no changes added to commit (use "git add" and/or "git commit -a") $ git diff diff --git a/Cargo.lock b/Cargo.lock index d01ce6e..44f6c5f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -499,6 +499,7 @@ dependencies = [ name = "displaydoc" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", ``` Reviewed By: cjlongoria Differential Revision: D75378307 fbshipit-source-id: 6181c2c81dc56c59a09b51b988de178d3ae599ac
1 parent 040fdbc commit 9763168

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@ walkdir = "2.3"
4343
[dev-dependencies]
4444
indoc = "2.0.2"
4545
tempfile = "3.15"
46+
47+
[patch.crates-io]
48+
displaydoc = { git = "https://github.com/yaahc/displaydoc", rev = "7dc6e324b1788a6b7fb9f3a1953c512923a3e9f0" }
49+
50+
[workspace]
51+
members = ["."]

0 commit comments

Comments
 (0)