Miguel Ojeda
Miguel Ojeda
Add new command-line flags to `rustdoc` to specify a file to be used as the logo and/or favicon. The file(s) will be copied to the generated documentation directory and relative...
Rust for Linux, so far, has pinned the Rust compiler and `bindgen` versions. The kernel is looking into expanding that support to several versions, i.e. establishing a minimum supported version,...
Back in Rust 1.60.0 we added `-Wclippy::dbg_macro` to the Linux kernel compilation flags, which worked great with our custom `dbg!` macro (essentially the `std` one but calling the kernel printing...
One more article from LWN that is freely available now.
### What it does Unsafe attributes have been stabilized (https://github.com/rust-lang/rust/pull/128771), thus it would be nice to have a lint that ensures `// SAFETY` comments are not written for safe attributes....
### What it does Unsafe attributes have been stabilized (https://github.com/rust-lang/rust/pull/128771), thus it would be nice to have a lint that ensures `// SAFETY` comments are in place. Since `undocumented_unsafe_blocks` covers...
It would be nice to have a way to make Clippy ignore all lints that were added starting with a certain Rust version. This would be useful to minimize the...
### What it does Rust 1.80.0 allows writing `unsafe extern` under `feature(unsafe_extern_blocks)`, Rust 1.82.0 stabilizes it, and Edition 2024 will require it. Thus it would be nice to have a...
### Summary `unnecessary_cast` appears to trigger for a parameter, but not for a local. ### Lint Name `unnecessary_cast` ### Reproducer I tried this code: ```rust fn g() -> i16 {...