Skip to content

Commit 018cb08

Browse files
RuoqingHeroypat
authored andcommitted
build: warn lints instead of deny
As @roypat pointed out and discussed in [1], using `#![deny(warnings)]` to enforce clean code could be harmful. Thus changing `deny` lints to `warn`. [1] https://www.reddit.com/r/rust/comments/f5xpib/psa_denywarnings_is_actively_harmful/ Signed-off-by: Ruoqing He <[email protected]>
1 parent cf59c5a commit 018cb08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
//! without knowing the implementation details of the VM memory provider. Thus hypervisor
1616
//! components, such as boot loader, virtual device drivers, virtio backend drivers and vhost
1717
//! drivers etc, could be shared and reused by multiple hypervisors.
18-
#![deny(clippy::doc_markdown)]
19-
#![deny(missing_docs)]
20-
#![deny(missing_debug_implementations)]
18+
#![warn(clippy::doc_markdown)]
19+
#![warn(missing_docs)]
20+
#![warn(missing_debug_implementations)]
2121
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2222

2323
// We only support 64bit. Fail build when attempting to build other targets

0 commit comments

Comments
 (0)