Skip to content

Commit 327e168

Browse files
committed
Use extern
1 parent 6564704 commit 327e168

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/five8_core/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#![doc = include_str!("../README.md")]
22
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3-
// Support using the crate without the standard library.
4-
#![cfg_attr(not(feature = "std"), no_std)]
3+
#![no_std]
4+
#[cfg(feature = "std")]
5+
extern crate std;
56

67
#[cfg(feature = "std")]
78
use core::fmt;

0 commit comments

Comments
 (0)