Skip to content

#![no_std] seems quite difficult to use in practice #18172

@jgallagher

Description

@jgallagher

I've had a few conversations on IRC about using #![no_std] in Rust libraries. There are comments around (such as here in html5ever) that using #![no_std] should be used if one wants to write a Rust library that is going to be used from other languages. It's not really clear to me how accurate that recommendation still is currently / will be at 1.0 with the changes to std that have happened over the past months; however, assuming it's still true, I think there are a couple of problems that don't seem to have easy solutions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions