Skip to content

Commit

Permalink
Fix features related to panic_info_message (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
birchmd committed Mar 15, 2022
1 parent e8d33db commit 0c339ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion engine-precompiles/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![allow(dead_code)]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
#![cfg_attr(feature = "log", feature(panic_info_message))]

pub mod account_ids;
pub mod blake2;
Expand Down
1 change: 0 additions & 1 deletion engine-sdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
#![cfg_attr(feature = "log", feature(panic_info_message))]

#[cfg(feature = "contract")]
use crate::prelude::Address;
Expand Down
5 changes: 4 additions & 1 deletion engine/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
#![cfg_attr(feature = "log", feature(panic_info_message))]
#![cfg_attr(
all(feature = "log", target_arch = "wasm32"),
feature(panic_info_message)
)]

use aurora_engine_types::parameters::PromiseCreateArgs;

Expand Down

0 comments on commit 0c339ec

Please sign in to comment.