Created
August 24, 2022 08:00
-
-
Save alebaffa/45f543fbc67fc8aa84846cbbeee360d3 to your computer and use it in GitHub Desktop.
Substrate force print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To force print in console | |
sp_std::if_std! { | |
// This code is only being compiled and executed when the `std` feature is enabled. | |
println!("Hello native world"); | |
} | |
// Run this command to see it in console during tests: cargo test -- --nocapture |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment