Skip to content
Snippets Groups Projects
  • Alex Crichton's avatar
    6d46b6fa
    Add a default-on "use_std" feature · 6d46b6fa
    Alex Crichton authored
    This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc,
    but is enabled by default. The library will currently continue to link to the
    standard library to maintain backwards compatibility with the 0.2 series and
    older Rust compilers for now, but this default can possible be changed in the
    future.
    6d46b6fa
    History
    Add a default-on "use_std" feature
    Alex Crichton authored
    This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc,
    but is enabled by default. The library will currently continue to link to the
    standard library to maintain backwards compatibility with the 0.2 series and
    older Rust compilers for now, but this default can possible be changed in the
    future.