Skip to content

Compiletest libc dependency can be unix-only #46275

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 28, 2017

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Nov 26, 2017

In main.rs libc is imported as:

#[cfg(unix)]
extern crate libc;

This came up in Manishearth/compiletest-rs#90.

In main.rs libc is imported as:

    #[cfg(unix)]
    extern crate libc;
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

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

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 26, 2017
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

r? @Mark-Simulacrum

@bors
Copy link
Collaborator

bors commented Nov 26, 2017

📌 Commit 5d8d04a has been approved by Mark-Simulacrum

@Mark-Simulacrum Mark-Simulacrum added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2017
kennytm added a commit to kennytm/rust that referenced this pull request Nov 27, 2017
…mulacrum

Compiletest libc dependency can be unix-only

In main.rs libc is imported as:

```rust
#[cfg(unix)]
extern crate libc;
```

This came up in Manishearth/compiletest-rs#90.
bors added a commit that referenced this pull request Nov 27, 2017
Rollup of 10 pull requests

- Successful merges: #45506, #46174, #46231, #46240, #46249, #46258, #46262, #46275, #46282, #46285
- Failed merges:
@bors bors merged commit 5d8d04a into rust-lang:master Nov 28, 2017
@dtolnay dtolnay deleted the compiletest-libc branch May 26, 2018 02:45
@dtolnay dtolnay added A-test-infra Area: test infrastructure (may span bootstrap/compiletest/more) A-compiletest Area: The compiletest test runner and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-compiletest Area: The compiletest test runner A-test-infra Area: test infrastructure (may span bootstrap/compiletest/more)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants