-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fix some warnings and errors #39
Conversation
34e43dc
to
962afa9
Compare
@alexandruag @aghecenco can you please add the text: We should add this to some contributing guidelines as well that we can point people to. I'll open an issue in the community repository. |
Makes sense. What's the approach when multiple commits are part of addressing the same issue? Do we say "fixes X"/"part of fixing X" for every one of them? |
What I used so far is: "Related to #issue" |
Related to rust-vmm#35 Signed-off-by: Alexandru Agache <[email protected]>
Related to rust-vmm#36 Signed-off-by: Alexandra Iordache <[email protected]>
Done, please take a look! |
There are still the following warnings with newer clippy versions:
We can leave them open, but we shouldn't say it fixes #36. |
Which version? |
1.43.1 (the one specified in the issue #36). |
After a chat with @alexandruag I realized I was running clippy differently :))) Specifically, I was also running it for the tests. Actual command I was using: The rust-vmm-ci is running clippy with: We should check if it is running it for all features though. |
So I had a look at what the various Some options will be redundant most of the time, but at the same time they don't do any harm. Also, Created rust-vmm/rust-vmm-ci#21. |
Closing this due to lack of activity and many conflicts. |
This fixes some warnings and errors such as:
Error::description
for various error types.Cargo.toml
dev dependency tovm-memory
did not refer a particular version.include_bytes!("bzimage")
statement led to a build time error for doc and unit tests when the file did not exist.Fixes #35
Related to #36