Skip to content

Commit a41b13a

Browse files
committed
chore: Catch no_std problems earlier
1 parent 3efc4cf commit a41b13a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/anstyle/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
#![cfg_attr(not(feature = "std"), no_std)]
4848
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4949
#![warn(missing_docs)]
50+
#![warn(clippy::std_instead_of_core)]
51+
#![warn(clippy::std_instead_of_alloc)]
5052
#![warn(clippy::print_stderr)]
5153
#![warn(clippy::print_stdout)]
5254

0 commit comments

Comments
 (0)