Skip to content

Support no_std #18

Closed
Closed
@glandium

Description

@glandium

There are multiple use cases for no_std, most of which have no use for errno. But a few use cases involving low-level code that can't use libstd can still use e.g. libc. No libstd means no std::io, which means no errno from there.

Those use cases could be considered niches, and I would totally understand that a small crate for a couple uses in the entire rust ecosystem might not be worth. Being at the beginning of my project, I only need read access to errno, and have copy/pasted the relevant parts for that for now (and only the unix parts for prototyping purposes), but I will eventually need cross-platform and write access as well. To give you an idea how niche my own use case is: I'm reimplementing a malloc() library (namely, mozjemalloc, the allocator in use in Firefox) in rust.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions