Re: [PATCH net-next v3 1/3] rust: core abstractions for network PHY drivers
From: Miguel Ojeda <hidden>
Date: 2023-10-09 14:48:48
Also in:
rust-for-linux
From: Miguel Ojeda <hidden>
Date: 2023-10-09 14:48:48
Also in:
rust-for-linux
On Mon, Oct 9, 2023 at 3:54 PM Andrew Lunn [off-list ref] wrote:
Can rustdoc be invoked in a similar way? Perform a check on a file, issue errors, but don't actually generate any documentation? If it can, it would be good to extend W=1 with this.
The Rust docs (like the Rust code) are supposed to be warning-free (and should remain like that, at the very least for `defconfig` and so on -- modulo mistakes, of course). We were thinking of using `W=1` to enable more Clippy lints that have some false positives or similar, but otherwise a lot of things are already checked by default (i.e. while building the code and/or the docs themselves). Or did I misunderstand you? Cheers, Miguel