Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for crates that are compiler dependencies #27812
Comments
alexcrichton
added
T-libs
B-unstable
labels
Aug 13, 2015
This comment has been minimized.
This comment has been minimized.
|
Why do we need the stability attributes there anyway? librustc is as much a part of the stable API as the symbol names (which can be accessed via |
This comment has been minimized.
This comment has been minimized.
|
This shouldn't compile on stable Rust: extern crate rustc;
fn main() {}Currently we use stability attributes to achieve this goal. I think it's a bit of a stretch to say we've stabilized librustc because we've shipped a binary for it, so I don't consider the fact that you can |
Ms2ger
referenced this issue
Aug 16, 2015
Open
Tracking: Unstable Rust feature gates used by Servo #5286
This comment has been minimized.
This comment has been minimized.
|
What about using |
This comment has been minimized.
This comment has been minimized.
tcr3dr
commented
Jun 6, 2016
•
|
For future travelers: if you mistakenly
The fix is to add |
This comment has been minimized.
This comment has been minimized.
moises-silva
commented
Aug 5, 2016
|
Dear past @tcr3dr , Thanks from the future! |
Manishearth
referenced this issue
Mar 28, 2017
Closed
Compiler docs not building due to stability #40880
eddyb
referenced this issue
Apr 27, 2017
Closed
Enable using libraries from crates.io without polluting them with stability attributes #41576
This comment has been minimized.
This comment has been minimized.
|
So I've been thinking about this issue, because it blocks a PR of mine. @eddyb suggested a -Z flag. This does sound good, except we'd want this mechanism perma-unstable and we don't even fully enforce stability of compiler flags yet. So how about this: Add However, I have no idea how easy or hard it would be to implement this. |
This comment has been minimized.
This comment has been minimized.
|
I meant to look into it, and unless something else comes up, I'll try tomorrow. |
This was referenced May 1, 2017
This comment has been minimized.
This comment has been minimized.
Kixunil
commented
May 29, 2017
|
Using Is there any work-around for this? What's blocking stabilization of |
This comment has been minimized.
This comment has been minimized.
|
that's closer to #29553, really. This one is related.
You're trying to inhibit optimizations somewhere?
https://crates.io/crates/bencher would be, except it's missing the one thing you need.
My perspective, though I'm not on the appropriate team so don't take this as gospel. Nobody has put in the needed work to get it to stable; that is, it's largely considered an internals-only thing, and hasn't been evaluated properly for stabilization. |
This comment has been minimized.
This comment has been minimized.
Kixunil
commented
May 30, 2017
Yes, specifically in |
This comment has been minimized.
This comment has been minimized.
andreycizov
commented
Jul 17, 2017
|
I believe there's a point in removing this from the old book published on the website, as the second one is mentioned as "under construction", and you always end up in the first one over here: https://doc.rust-lang.org/1.12.1/book/benchmark-tests.html Can be quite distracting for beginners. |
Mark-Simulacrum
added
the
C-tracking-issue
label
Jul 22, 2017
matthiaskrgr
referenced this issue
Feb 20, 2018
Open
assertion failed: !are_upstream_rust_objects_already_included(sess) when building rustc_private with monolithic lto #45689
acmcarther
referenced this issue
Mar 16, 2018
Merged
Add an example using Git for dependency resolution #5
This comment has been minimized.
This comment has been minimized.
ishaniGupta27
commented
Apr 27, 2018
|
use of unstable library feature 'test' . I am getting this issue when I am trying to use it for benchmarking. Any workaround for this? |
This comment has been minimized.
This comment has been minimized.
|
@ishaniGupta27 |
nholstein
referenced this issue
May 31, 2018
Merged
server: switch comparison_benches to use tokio-executor #502
anglinb
referenced this issue
Jun 24, 2018
Merged
Fix cargo build on Mac OSX with latest rust nightly #239
This comment has been minimized.
This comment has been minimized.
|
Could we please make Edit: also, this annoying thing happens when you try to use it:
|
This comment has been minimized.
This comment has been minimized.
|
Why is the 0.1 version number significant? It only means that the crate hasn’t changed much since it was extracted from the standard library. Regarding the warning, we should probably replace the trait in that crate with a pair of free functions. |
alexcrichton commentedAug 13, 2015
This is a tracking issue for the unstable
rustc_privatefeature of the standard distribution. It's pretty unfortunate that we have to explicitly prevent everyone from linking to compiler internals via stability attributes, it'd be better if we just didn't ship them at all perhaps.Is there a better solution? Must we rely on instability forever?