locales: use no_std by default.

This way the crate will always fail to compile if it doesn't compile on
no_std.

It being no_std by default won't affect std build of other crates as
no_std and std crates can interop by default.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
This commit is contained in:
Jean-Pierre De Jesus DIAZ 2023-06-15 18:10:59 +02:00
parent 08aac2c285
commit 8ec8892a56
No known key found for this signature in database
GPG key ID: 6279AEC20A9524EC
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
#![cfg_attr(target_os = "none", no_std)]
#![no_std]
pub mod generated;
pub use generated::*;