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

Prepare for being included via crates.io into std #1134

Merged
merged 1 commit into from
Nov 22, 2018

Commits on Nov 21, 2018

  1. Prepare for being included via crates.io into std

    This commit prepares the `libc` crate to be included directly into the
    standard library via crates.io. More details about this can be found on
    rust-lang/rust#56092, but the main idea is that this crate now depends
    on core/compiler-builtins explicitly (but off-by-default).
    
    The main caveat here is that this activates `no_core` when building as
    part of libstd, which means that it needs to explicitly have an `iter`
    and `option` module for the expansion of `for` loops to work.
    alexcrichton committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    91bd079 View commit details
    Browse the repository at this point in the history