Skip to content

Conversation

@huonw
Copy link
Contributor

@huonw huonw commented Jun 3, 2014

libc: only provide an rlib.

There's absolutely no reason for libc to be offered as a dynamic
library.

@alexcrichton
Copy link
Member

In general I don't think that we want to avoid dylibs once you've gotten past the standard library, but the dependencies underneath the standard library can in general be available only as rlibs.

@sfackler
Copy link
Member

sfackler commented Jun 4, 2014

Travis failure looks legit

@alexcrichton
Copy link
Member

Sneaky, sneaky. It looks like #14344 strikes again.

I've gotten around this in the past with:

// liblibc/lib.rs
#[doc(hidden)]
pub fn issue_14344_workaround() {}

// libstd/lib.rs
#[doc(hidden)]
pub fn issue_14344_workaround() {
    libc::issue_14344_workaround();
}

There's absolutely no reason for `libc` to be offered as a dynamic
library.
bors added a commit that referenced this pull request Jun 4, 2014
libc: only provide an rlib.

There's absolutely no reason for `libc` to be offered as a dynamic
library.
@bors bors closed this Jun 5, 2014
@bors bors merged commit 96cc48f into rust-lang:master Jun 5, 2014
@huonw huonw deleted the nodylibc branch June 27, 2014 06:47
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
internal: Don't reparse files when trying to expand assoc item macro calls
bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 21, 2025
Based on rust-lang/rust-clippy#14616

Extends `rename_lint` to handle more cases and makes `update_lints` sort
`deprecated_lints.rs`.

changelog: None
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.

4 participants