Uh oh!
There was an error while loading. Please reload this page.
Remove internal liblog - #40347
Conversation
rust-highfive
commented
Mar 8, 2017
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Mar 8, 2017
r? @brson Note that this is the first crates.io crate to be included in the compiler itself, but I believe that everything is ironed out! Also note that we have a test if a crate is used and the annotations above are forgotten. We also have license checking for crates.io deps to get errors by default if were working with unusual licenses. |
hanna-kruppe
commented
Mar 8, 2017
I seem to recall that the behavior of |
alexcrichton
commented
Mar 8, 2017
@rkruppe for the compiler I've now enabled the |
alexcrichton
commented
Mar 8, 2017
(good catch!) |
brson
commented
Mar 9, 2017
@bors r+ |
bors
commented
Mar 9, 2017
📌 Commit 5f10bb5 has been approved by |
alexcrichton
commented
Mar 10, 2017
@bors: r- this breaks a number of crates |
steveklabnik
commented
Mar 10, 2017
How did you determine this? |
alexcrichton
commented
Mar 10, 2017
Heh via wizardry :) (the travis logs also indicate this) I have suspicions for what's going on here and how to fix it, I don't have time to act on them just yet though. |
bors
commented
Mar 11, 2017
☔ The latest upstream changes (presumably #40432) made this pull request unmergeable. Please resolve the merge conflicts. |
alexcrichton
commented
Mar 16, 2017
@bors: r=brson |
bors
commented
Mar 16, 2017
📌 Commit a4bd5e9 has been approved by |
Remove internal liblog This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
frewsxcv
commented
Mar 17, 2017
It looks like Travis hit an ICE. Is that related to these changes? |
alexcrichton
commented
Mar 17, 2017
No idea how, but my guess is yes :( @bors: r- |
alexcrichton
commented
Mar 17, 2017
bors
commented
Mar 17, 2017
📌 Commit e4af5fd has been approved by |
Remove internal liblog This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
alexcrichton
commented
Mar 23, 2017
@bors: r=brson |
bors
commented
Mar 23, 2017
📌 Commit e341d60 has been approved by |
bors
commented
Mar 24, 2017
⌛ Testing commit e341d60 with merge 4509a6e... |
bors
commented
Mar 24, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Mar 24, 2017
via email
| … On Fri, Mar 24, 2017 at 9:10 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/214641032>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#40347 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95COiO5fGF0MSF_BVZlZZ3GDPGxMrks5ro87EgaJpZM4MWXFU>
.
|
Remove internal liblog This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
bors
commented
Mar 25, 2017
⌛ Testing commit e341d60 with merge 1ff1f1d... |
bors
commented
Mar 25, 2017
💔 Test failed - status-travis |
arielb1
commented
Mar 25, 2017
bors
commented
Mar 25, 2017
⌛ Testing commit e341d60 with merge 6b90ac4... |
bors
commented
Mar 25, 2017
💔 Test failed - status-travis |
arielb1
commented
Mar 25, 2017
bors
commented
Mar 25, 2017
⌛ Testing commit e341d60 with merge e092448... |
bors
commented
Mar 25, 2017
💔 Test failed - status-travis |
arielb1
commented
Mar 25, 2017
bors
commented
Mar 26, 2017
⌛ Testing commit e341d60 with merge 7dd4e2d... |
Remove internal liblog This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
bors
commented
Mar 26, 2017
☀️ Test successful - status-appveyor, status-travis |
This commit deletes the internal liblog in favor of the implementation that
lives on crates.io. Similarly it's also setting a convention for adding crates
to the compiler. The main restriction right now is that we want compiler
implementation details to be unreachable from normal Rust code (e.g. requires a
feature), and by default everything in the sysroot is reachable via
extern crate.The proposal here is to require that crates pulled in have these lines in their
src/lib.rs:This'll mean that by default they're not using these attributes but when
compiled as part of the compiler they do a few things:
staged_apifeature and the#![unstable]attribute.feature(rustc_private)which isrequired if the crate relies on any other crates to compile (other than std).