Skip to content

Clarify what #![no_std] is useful for #20537

Closed
@SimonSapin

Description

@SimonSapin

I’ve initially made rust-wtf8 use #![no_std] out of the theoretical concern that potential users (maybe html5ever) would want #![no_std] as well. (And because it wasn’t hard.)

But now that the runtime was removed, what are the real benefits of using #![no_std]? The html5ever source has a "This helps us make a C-friendly library." comment. @kmc, how does it help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions