Skip to content

libc: Move features behind a cfg_attr gate - #23004

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:libc-stable
Mar 6, 2015
Merged

libc: Move features behind a cfg_attr gate#23004
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:libc-stable

Conversation

@alexcrichton

Copy link
Copy Markdown
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
Copy Markdown
Contributor

r? @pcwalton

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

@alexcrichton

Copy link
Copy Markdown
Member Author

r? @brson

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

brson commented Mar 3, 2015

Copy link
Copy Markdown
Contributor

@bors: r+ rollup

@bors

bors commented Mar 3, 2015

Copy link
Copy Markdown
Collaborator

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

@alexcrichton

Copy link
Copy Markdown
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
lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 3, 2026
…-parse

fix: parse postfix range inside closure in access
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