Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrutherford committed May 18, 2020
1 parent e3bdb79 commit 10a07a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ pub use self::storage::{
pub use self::dispatch::{Parameter, Callable, IsSubType};
pub use sp_runtime::{self, ConsensusEngineId, print, traits::Printable};

/// Indicates whether to run traces in wasm
pub static mut WASM_TRACING_ENABLED: bool = true;

/// A type that cannot be instantiated.
Expand Down
2 changes: 1 addition & 1 deletion primitives/tracing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub use tracing;
#[cfg(feature = "std")]
pub mod proxy;

/// Flag to signal whether we need to run wasm tracing, inc host-function calls
/// Flag to signal whether to run wasm tracing
#[cfg(feature = "std")]
pub static WASM_TRACING_ENABLED: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false);

Expand Down

0 comments on commit 10a07a6

Please sign in to comment.