--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,2 +50,3 @@
 path = "tests/char.rs"
+required-features = ["std"]
 
