Skip to content
Commit 18be937c authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Adds `if_std!` macro (#2979)

This macro compiles and executes the given code only when `std` feature
is enabled. This can be useful for debugging without needing to worry
that your code does not compile on `no_std`.
parent 7b1e8dc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment