-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove root from cargo lock #4571
Changes from 2 commits
850fbdc
008a126
6f03cce
f5fbf73
f5961e6
639bfb5
cab464e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -328,7 +328,7 @@ Cargo will take the latest commit and write that information out into our | |
`Cargo.lock` when we build for the first time. That file will look like this: | ||
|
||
```toml | ||
[root] | ||
[[package]] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Excellent catch! I haven't thought of the docs at all! |
||
name = "hello_world" | ||
version = "0.1.0" | ||
dependencies = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -971,7 +971,7 @@ fn stale_cached_version() { | |
let rev = repo.revparse_single("HEAD").unwrap().id(); | ||
|
||
File::create(&foo.root().join("Cargo.lock")).unwrap().write_all(format!(r#" | ||
[root] | ||
[[package]] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it true that changes in tests are mostly cosmetics? That is, the tests pass with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like it. I made the same change against master branch and the test passes without a hitch |
||
name = "foo" | ||
version = "0.0.0" | ||
dependencies = [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this field can be removed now as well?