microsoft/windows-drivers-rs

blocklist certain warnings from bindgen

开放

#138 创建于 2024年4月9日

 (0 条评论) (0 个反应) (0 位负责人)Rust (128 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (1,886 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

https://github.com/microsoft/windows-drivers-rs/blob/64108970944ae13f16ea109d03c841f804b82f21/crates/wdk-sys/build.rs#L73

Certain warnings from bindgen are not actionable by WDR due to upstream work required. These warnings should be individually silenced instead of turning off all warnings for the bindgen module. This is currently not possible because tracing's envfilter does not have functional field value matching for logs, only for spans. See https://github.com/tokio-rs/tracing/issues/2843. Since bindgen is using logs instead of traces, this probably involves fixing something in tracing-log

贡献者指南