qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 05/11] rust: cargo: store desired warning levels in works


From: Paolo Bonzini
Subject: Re: [RFC PATCH 05/11] rust: cargo: store desired warning levels in workspace Cargo.toml
Date: Tue, 12 Nov 2024 06:28:14 +0100



Il mar 12 nov 2024, 04:17 Junjie Mao <junjie.mao@hotmail.com> ha scritto:
Making a universal unexpected_cfgs apply to the whole workspace may lead
to a lengthy cfg list when more devices in Rust are added. As cargo does
not allow overriding workspace-defined lints once inherited, I think it
better to keep unexpected_cfgs crate-specific.

Is it possible? I thought you cannot override at a finer granularity once you have a "workspace = true" line.

Based on the experience with C we shouldn't have many cfgs, but if it's possible I would definitely make unexpected_cfgs specific to qemu-api.

Paolo
--
Best Regards
Junjie Mao


reply via email to

[Prev in Thread] Current Thread [Next in Thread]