-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
v0.25.0 fails to compile without default features (no_std mode):
error[E0412]: cannot find type `String` in `builder.rs:126,416`
error[E0412]: cannot find type `Box` in `introspection.rs:238`
error[E0599]: no method `to_string` in `display.rs:391`
Root Cause
Missing alloc imports when std feature is disabled.
Solution
- Add
use alloc::string::String;to builder.rs - Add
use alloc::boxed::Box;to introspection.rs - Add
use alloc::string::ToString;to display.rs - Add CI check:
cargo check --no-default-features
Severity
Critical - Breaks no_std builds
Hotfix
Will release v0.25.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working