-
Notifications
You must be signed in to change notification settings - Fork 13
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
build(deps): bump rust-vmm-ci from 7f22582
to 68d4dbf
#19
Conversation
Bumps [rust-vmm-ci](https://github.com/rust-vmm/rust-vmm-ci) from `7f22582` to `68d4dbf`. - [Release notes](https://github.com/rust-vmm/rust-vmm-ci/releases) - [Commits](rust-vmm/rust-vmm-ci@7f22582...68d4dbf) --- updated-dependencies: - dependency-name: rust-vmm-ci dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
@liuw @russell-islam we're now running the style checks on examples as well, and it looks like there are some changes required. Could you please fix the style? To do that locally you can run the following commands:
|
When I run the aforementioned docker command I got the following.
|
I fixed the example. It was missing a |
For avoidance of doubt, I can just fish out that
Sure. Thanks. I have in fact fished out the command from the logs and am running it without docker. |
I have one question though, |
The reason for running with the container is that the style is tied to the Rust version. That's why it is important to use the same version as the one that is running in the CI.
It is now part of Rust stable (i.e. you can run the check with cargo fmt), so I am a bit surprised by this. Do you have a link to where it says that it's unstable? |
I forgot to paste in the link. Here you go. https://rust-lang.github.io/rustfmt/?version=v1.4.36&search=format_code#format_code_in_doc_comments |
Oh, my bad. That doc is for |
No problem. Okay, so I took a look at the issue that tracks stabilizing this option (rust-lang/rustfmt#3348), and I think that the risk for it to disappear is low. I think what can change from a version to another is how it is used/called which I don't think is such a big problem because the CI will not fail unless we upgrade to a newer I find the formatting of code examples a good thing, so if you don't mind I'd like to keep it. If anything goes wrong on newer versions, we can always go back to running fmt only on code. WDYT? |
Sure. We can keep it. Just wanted to make sure you're aware of the potential pitfall from using that option. :-) |
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.
Needs to be merged after #20 is merged.
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Superseded by #21. |
Bumps rust-vmm-ci from
7f22582
to68d4dbf
.Commits
68d4dbf
Check formatting of code examples in doc commentsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)