-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
rustdoc cleanup: use rustdoc attribute #508
Conversation
6ef8d93
to
7ec0269
Compare
7ec0269
to
0f2e94b
Compare
oh no, this breaks our nightly MSRV https://github.com/rust-osdev/uefi-rs/actions/runs/3126569058/jobs/5072215764 How do we want to cope with that? Bumping our MSRV? @nicholasbishop I added a commit that bumps the MSRV.. if we go this way, we can also use un-revert #506 |
Thinking through some tradeoffs and possibilities for nightly MSRV:
Thoughts on those alternatives? |
Okay, I see. Intuitively, I'm against additional complexity with
Fully agree. For "unimportant MSRV bumps", I think, having accepted PRs on hold, maybe with a special tag, is a good idea.
Three months sound good. What's a good label name? @nicholasbishop
|
Oops, missed that question before. I added a |
I'm closing this as it seems that rust-lang/rust#101730 will take a few months until something will land in the latest nightly. Also, there is no big benefit here. Hence, we shold close this PR for now. |
The disadvantage is now that people can't run
cargo doc
as this fails now. They must usecargo xtask doc
orcargo doc --features alloc,exts,logger
.PS: We are right now in a time where there are changes regarding the "missing_doc_code_examples" lint inside latest upstream/nightly Rust. 14 days ago, this tracking issue was created. Relevant for us is that
#![allow(missing_doc_code_examples)]
is deprecated but#![allow(rustdoc::missing_doc_code_examples)]
requires#![feature(rustdoc_missing_doc_code_examples)]
.Checklist
Rewriting History guide for
help.