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

Fix --no-default-features builds #930

Merged
merged 7 commits into from
Feb 28, 2018
Merged

Fix --no-default-features builds #930

merged 7 commits into from
Feb 28, 2018

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Feb 27, 2018

Closes #928 #929 #684

@rust-highfive
Copy link

r? @alexcrichton

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

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Feb 27, 2018

Is there a reason for the run.sh script to use exec to invoke cargo test on libc-test? ping: @malbarbo

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Feb 27, 2018

The failure is not my fault. That target_vendor thing should probably have a #[cfg_attr] for libstd as well.

@alexcrichton
Copy link
Member

@gnzlbg for now could similar logic be applied to only take that branch when building in libstd?

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Feb 28, 2018

@alexcrichton I've pushed a fix for that, hopefully that won't break anything else.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Feb 28, 2018

📌 Commit 78320c7 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Feb 28, 2018

⌛ Testing commit 78320c7 with merge 92d3739...

bors added a commit that referenced this pull request Feb 28, 2018
Fix --no-default-features builds

Closes #928 #929 #684
@bors
Copy link
Contributor

bors commented Feb 28, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 92d3739 to master...

@bors bors merged commit 78320c7 into rust-lang:master Feb 28, 2018
@clarfonthey
Copy link
Contributor

Could a new version of libc be released that includes this change?

@alexcrichton
Copy link
Member

Sure! Instructions for how to do so are here

@clarfonthey
Copy link
Contributor

@alexcrichton it appears that the version has already been bumped since the change, but it wasn't pushed to crates.io

@alexcrichton
Copy link
Member

Oops sorry about that, published now!

alexcrichton added a commit to alexcrichton/libc that referenced this pull request Jul 10, 2018
It looks like this was a mistake of rust-lang#930 but should be easy to fix!
bors added a commit that referenced this pull request Jul 10, 2018
Fix a #[cfg] attribute

It looks like this was a mistake of #930 but should be easy to fix!
bors added a commit that referenced this pull request Jul 12, 2018
Fix netbsd build with "stdbuild"

A bug was introduced in #930 which caused netbsd to not link to libm.

r? @alexcrichton
bors added a commit that referenced this pull request Jul 12, 2018
Fix netbsd build with "stdbuild"

A bug was introduced in #930 which caused netbsd to not link to libm.

r? @alexcrichton
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