File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Since it's very simple we will start with limitations:
3939#![ cfg_attr( target_pointer_width = "64" , warn( clippy:: trivially_copy_pass_by_ref) ) ]
4040// END LINEBENDER LINT SET
4141#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
42- #![ cfg_attr ( all ( not ( feature = "std" ) , not ( test ) ) , no_std) ]
42+ #![ no_std]
4343// The following lints are part of the Linebender standard set,
4444// but resolving them has been deferred for now.
4545// Feel free to send a PR that solves one or more of these.
@@ -55,6 +55,8 @@ Since it's very simple we will start with limitations:
5555#![ cfg_attr( test, allow( unused_crate_dependencies) ) ] // Some dev dependencies are only used in tests
5656
5757extern crate alloc;
58+ #[ cfg( feature = "std" ) ]
59+ extern crate std;
5860
5961use alloc:: vec:: Vec ;
6062use core:: fmt;
You can’t perform that action at this time.
0 commit comments