Skip to content

Commit 09cff03

Browse files
committed
Always use the core prelude
1 parent f88209c commit 09cff03

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
rust_toolchain: stable
13+
rust_toolchain: nightly
1414

1515
jobs:
1616
compile:

src/lib.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
#![cfg_attr(not(feature = "std"), no_std)]
1+
#![no_std]
22
#![allow(async_fn_in_trait)]
33

4+
#[cfg(feature = "std")]
5+
#[allow(unused_imports)]
6+
#[macro_use]
7+
extern crate std;
8+
49
#[cfg(feature = "alloc")]
510
#[allow(unused_imports)]
611
#[macro_use]

0 commit comments

Comments
 (0)