Skip to content

Commit

Permalink
Always use the core prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Feb 21, 2024
1 parent f88209c commit 09cff03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
rust_toolchain: stable
rust_toolchain: nightly

jobs:
compile:
Expand Down
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![no_std]
#![allow(async_fn_in_trait)]

#[cfg(feature = "std")]
#[allow(unused_imports)]
#[macro_use]
extern crate std;

#[cfg(feature = "alloc")]
#[allow(unused_imports)]
#[macro_use]
Expand Down

0 comments on commit 09cff03

Please sign in to comment.