microsoft/windows-drivers-rs

blocklist certain warnings from bindgen

Aberta

#138 aberto em 9 de abr. de 2024

 (0 comentário) (0 reação) (0 responsável)Rust (128 forks)auto 404
enhancementhelp wanted

Métricas do repositório

Stars
 (1.886 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador