6d46b6fa5f
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.
19 lines
457 B
TOML
19 lines
457 B
TOML
[package]
|
|
|
|
name = "libc"
|
|
version = "0.2.7"
|
|
authors = ["The Rust Project Developers"]
|
|
license = "MIT/Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rust-lang/libc"
|
|
homepage = "https://github.com/rust-lang/libc"
|
|
documentation = "http://doc.rust-lang.org/libc"
|
|
description = """
|
|
A library for types and bindings to native C functions often found in libc or
|
|
other common platform libraries.
|
|
"""
|
|
|
|
[features]
|
|
default = ["use_std"]
|
|
use_std = []
|