Skip to content

libc: Move features behind a cfg_attr gate #23004

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

Merged
merged 1 commit into from
Mar 6, 2015

Conversation

alexcrichton
Copy link
Member

This same source is being built in the Cargo ecosystem and hence needs to build
on stable Rust as well. This commit places the no_std attribute along with the
no_std feature behind a cfg_attr flag so they are not processed when
compiled on crates.io

This same source is being built in the Cargo ecosystem and hence needs to build
on stable Rust as well. This commit places the `no_std` attribute along with the
`no_std` feature behind a `cfg_attr` flag so they are not processed when
compiled on crates.io
@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member Author

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned pcwalton Mar 3, 2015
@brson
Copy link
Contributor

brson commented Mar 3, 2015

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Mar 3, 2015

🙀 rollup is not a valid commit SHA. Please try again with 9893b44.

@alexcrichton
Copy link
Member Author

@bors: r=brson 9893b44 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 4, 2015
 This same source is being built in the Cargo ecosystem and hence needs to build
on stable Rust as well. This commit places the `no_std` attribute along with the
`no_std` feature behind a `cfg_attr` flag so they are not processed when
compiled on crates.io
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 5, 2015
 This same source is being built in the Cargo ecosystem and hence needs to build
on stable Rust as well. This commit places the `no_std` attribute along with the
`no_std` feature behind a `cfg_attr` flag so they are not processed when
compiled on crates.io
@bors bors merged commit 9893b44 into rust-lang:master Mar 6, 2015
@alexcrichton alexcrichton deleted the libc-stable branch March 27, 2015 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants