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

Turn the no_std feature into default-enabled std #74

Merged
merged 1 commit into from
Jul 8, 2023

Commits on Jul 8, 2023

  1. Turn the no_std feature into default-enabled std

    This also:
    - fixes the `no_std` not being enabled due to a swapped `cfg_attr`.
    - tests this builds with a `#![no_std]` binary.
    - A lot of the cfg's have been removed due to being unneeded.
    - adds a new dependency
    - updates the version to 2.0
    - adds a ci command to to use cargo-no-std to check no-std
    
    Some notes on changes from sile#68:
    
    Everything in `core` is a subset of things in `std`.
    `core` is available in `std` environments, so if you're building
    a `no_std`-compatible library, it's best to import things that
    don't _require_ `std` from `core.
    
    core2 is also meant to be used as a `no_std` polyfill with its
    `std` feature. That is, you can reference `core2::io`, and if the
    `std` feature is enabled, it actually references `std::io`.
    kupiakos committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    ee29897 View commit details
    Browse the repository at this point in the history