Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core-foundation-sys: Enable no_std environment #609

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 3, 2023

  1. core-foundation-sys: Enable no_std environment

    Since the purpose of this crate is the bindings to an external
    library and they're pretty much complete, we can see that the only
    thing we use in libstd are the pointer types and `std::cmp`.
    In fact they're defined in libcore and then exported through libstd.
    I doubt that we will ever need any libstd only stuff such as heap
    allocation, vectors, hashmaps, etc. I propose making
    core-foundation-sys a no_std crate. It maybe useful in some rare
    situations. For instance, windows-sys crate (Microsoft's official
    Rust bindings) is no_std and it can be used for writing kernel
    drivers.
    michaelwright235 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    13324ad View commit details
    Browse the repository at this point in the history