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

Remove broken newlib support #1571

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Remove broken newlib support #1571

merged 1 commit into from
Dec 21, 2021

Conversation

asomers
Copy link
Member

@asomers asomers commented Oct 17, 2021

Nix has never supported a newlib target, but there were a few cfg checks
for it in our codebase. Some of them were misspelled (newlibc vs
newlib), and some of the checks were wrong. Removing them makes the
code much more readable.

Nix has never supported a newlib target, but there were a few cfg checks
for it in our codebase.  Some of them were misspelled (newlibc vs
newlib), and some of the checks were wrong.  Removing them makes the
code much more readable.
@asomers asomers added this to the 0.24.0 milestone Oct 17, 2021
@asomers asomers requested a review from rtzoeller December 21, 2021 21:35
@@ -51,10 +51,8 @@ impl ClockId {
#[cfg(not(any(
target_os = "macos",
target_os = "ios",
all(
not(any(target_env = "uclibc", target_env = "newlibc")),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with dropping uclibc here since we don't support it at the moment, but it's worth noting #1603 may need to put it back.

@rtzoeller
Copy link
Collaborator

bors r+

@bors bors bot merged commit 8eac0ee into nix-rust:master Dec 21, 2021
@lancethepants lancethepants mentioned this pull request Jan 18, 2022
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.

2 participants