-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docs): notes on unstable rustc in HACKING.md #322
Conversation
6ed7c95
to
c5ad758
Compare
Summary: Some notes to help guide potential contributors or lurkers who are interested. Also has some notes on my use of tagref to keep track of this stuff. GitHub Issue: facebook#265 Signed-off-by: Austin Seipp <aseipp@pobox.com> Change-Id: Itryyrvmlvxmssvxmwkxlrpyulvlwmlyq
c5ad758
to
395ddc2
Compare
Happy enough with your reformat. For the unstable features, I think we are only interested in removing unstable features if it does not harm the quality of the code too much. In most cases, the use of the unstable feature was to make things better, so normally I am against removing it. In the fullness of time most unstable features become stable, so I think it will happen eventually. E.g. for int_roundings, thoughtpolice@62d892d looks like it makes things worse, while int_roundings is likely to be stabilised. In contrast, thoughtpolice@c69f195 is just clearly cleaner code with less extension. |
I dropped some thoughts in #265 so suggest we figure it out there |
Yeah, and I didn't put up thoughtpolice@62d892d yet actually because I was wondering if an analogue to |
Seems weird to put something that is soon going to be in the standard library in Gazebo. Putting it in buck2_core might be feasible, but as far as I remember, host stuff doesn't depend on buck2_core (for good internal reasons). |
Yeah, I expect it will be in the standard library in a few months (there seems to be one or two final nits but the Rust core people are busy). Like I said, a bit of it is just getting a feel for what will be big changes and what will be small changes. The |
In light of #292 happening, I think my need for this has been lowered a bit, and I don't think it's as big a deal as long as we have statically linked binaries for users to use; the need for distributions etc is a bit different than what this is catering to. If the Meta team decides to move to rustc stable, it'll be loudly announced anyway, so I doubt it's a big deal. I might still submit the occasional cleanup for things like this. |
Some notes on
rustc
unstable usage, after talking in #320. Figured this would be nice to add.I have a small upcoming change (I'll file it separately after trying to make a few more) that will use the
tagref
syntax; it's nothing to worry about for anyone else except me, I think. (e.g.int_roundings
can be replaced with a small bit of code, but it would be nice to undo that when it does become stable, so keeping a note on it is nice.)Also rework some changes from Neil's recent commit; everything in HACKING.md uses
-
for bullet points instead of*
, so it's just a tiny consistency change.