Skip to content

Add no_std support#317

Draft
theoparis wants to merge 2 commits into
trifectatechfoundation:mainfrom
theoparis:push-nzsoosmkolom
Draft

Add no_std support#317
theoparis wants to merge 2 commits into
trifectatechfoundation:mainfrom
theoparis:push-nzsoosmkolom

Conversation

@theoparis
Copy link
Copy Markdown

@theoparis theoparis commented Jun 1, 2026

I've marked this as a draft since I don't know how to handle the eprintln calls yet - those need proper error handling. I did not run cargo fmt as it seems it wasn't previously ran, so it would introduce other unrelated formatting changes.

theoparis added 2 commits June 1, 2026 16:50
Signed-off-by: Theo Paris <theo@theoparis.com>
Signed-off-by: Theo Paris <theo@theoparis.com>
@folkertdev
Copy link
Copy Markdown
Member

We do also use libc for malloc, free and probably some other asserted things. The println!s you could just compile out, I don't think they'd be that useful in a no_std context anyway.

But, currently, this is kind of impossible to review. For cleaning up size_t I'd suggest something more mechanical (that I can reproduce) like I suggested in #318 (comment) as a separate PR.

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.

2 participants