Skip to content

Commit 86c93dd

Browse files
committed
Add no_std support.
Related to: aldanor#33
1 parent 9fdcdca commit 86c93dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
//! assert_eq!(&s[n..], "foo");
3636
//! ```
3737
38+
#![cfg_attr(not(feature = "std"), no_std)]
3839
#![allow(unused_unsafe)]
3940
#![warn(unsafe_op_in_unsafe_fn)]
4041
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]

0 commit comments

Comments
 (0)