Skip to content

Remove broken newlib support#1571

Merged
bors[bot] merged 1 commit into
nix-rust:masterfrom
asomers:newlibc
Dec 21, 2021
Merged

Remove broken newlib support#1571
bors[bot] merged 1 commit into
nix-rust:masterfrom
asomers:newlibc

Conversation

@asomers

@asomers asomers commented Oct 17, 2021

Copy link
Copy Markdown
Member

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
Comment thread src/time.rs
target_os = "macos",
target_os = "ios",
all(
not(any(target_env = "uclibc", target_env = "newlibc")),

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