Skip to content

Commit 383f998

Browse files
committed
Remove unused features and cfg away default features
1 parent c74ae4d commit 383f998

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@
118118
//!
119119
#![no_std]
120120
#![allow(incomplete_features)]
121-
#![feature(adt_const_params)]
122-
#![feature(generic_const_exprs)]
123-
#![feature(generic_associated_types)]
124121
#![feature(type_alias_impl_trait)]
125-
#![feature(future_poll_fn)]
122+
123+
#![feature(cfg_version)]
124+
#![cfg_attr(all(target_family="bolos", not(version("1.64"))), feature(future_poll_fn))]
125+
#![cfg_attr(all(target_family="bolos", not(version("1.65"))), feature(generic_associated_types))]
126126

127127
use ledger_log::*;
128128
use nanos_sdk::io;

0 commit comments

Comments
 (0)