Skip to content

Conversation

@RAprogramm
Copy link
Owner

Summary

Fix no_std compilation broken in v0.25.0.

Changes

Add missing alloc imports when std feature is disabled:

  • builder.rs:126,416 - Add String import
  • introspection.rs:238 - Add Box import
  • display.rs:391 - Add ToString import
  • ci.yml - Add no_std compatibility check

Root Cause

v0.25.0 refactored core modules but missed adding alloc imports for no_std builds.

Testing

  • cargo check --no-default-features passes
  • ✅ All 508 tests pass with std
  • ✅ Added CI check to prevent future regressions

Severity

Critical - Breaks no_std builds completely

Closes #326

Add missing imports from alloc crate when std feature is disabled:
- String in builder.rs (lines 126, 416)
- Box in introspection.rs (line 238)
- ToString in display.rs (line 391)

Also add CI check for no_std builds to prevent future regressions.

Fixes #326
@RAprogramm RAprogramm merged commit 7fdc650 into main Oct 29, 2025
18 checks passed
@RAprogramm RAprogramm deleted the 326 branch October 29, 2025 02:50
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no_std compilation broken in v0.25.0

2 participants