You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several examples that simply have #![no_std] at the top, while this default should be changed to something more like #![cfg_attr(not(test), no_std)].
This won't affect the generated artifacts for compiling programs for production, but will allow for things like randomness to be used in tests.
This should be relatively trivial, but I'm not positive if it breaks things because we also use register_custom_getrandom!(always_fail); everywhere.
The text was updated successfully, but these errors were encountered:
There are several examples that simply have
#![no_std]
at the top, while this default should be changed to something more like#![cfg_attr(not(test), no_std)]
.This won't affect the generated artifacts for compiling programs for production, but will allow for things like randomness to be used in tests.
This should be relatively trivial, but I'm not positive if it breaks things because we also use
register_custom_getrandom!(always_fail);
everywhere.The text was updated successfully, but these errors were encountered: