Skip to content
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

Stabilize to_bytes and from_bytes for integers. #51835

Merged
merged 1 commit into from
Jun 27, 2018

Conversation

tmccombs
Copy link
Contributor

Fixes #49792

@rust-highfive
Copy link
Collaborator

r? @joshtriplett

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 27, 2018
@joshtriplett
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jun 27, 2018

📌 Commit c8f9b84 has been approved by joshtriplett

@bors bors 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 Jun 27, 2018
@bors
Copy link
Contributor

bors commented Jun 27, 2018

⌛ Testing commit c8f9b84 with merge c208243...

bors added a commit that referenced this pull request Jun 27, 2018
Stabilize to_bytes and from_bytes for integers.

Fixes #49792
@kennytm kennytm added the relnotes Marks issues that should be documented in the release notes of the next release. label Jun 27, 2018
@bors
Copy link
Contributor

bors commented Jun 27, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: joshtriplett
Pushing c208243 to master...

@bors bors merged commit c8f9b84 into rust-lang:master Jun 27, 2018
ALCC01 added a commit to ALCC01/sigil that referenced this pull request Jul 17, 2018
* Remove reliance on unstable feature int_to_from_bytes
	* Add a fallback method until feature becomes stable in Rust 1.29
	* See rust-lang/rust#51835
* Remove reliance on experimental feature attr_literals
	* Only used for `structopt`, but it provides `raw()`
	* See rust-lang/rust#34981
* Make tests run again
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 30, 2018
Revert "Stabilize to_bytes and from_bytes for integers."

This reverts commit c8f9b84 / PR rust-lang#51835, and reopens the tracking issue rust-lang#49792.

These methods were stabilized in Rust 1.29, which is still in Nightly as of this writing. So my understanding is that it is still time to change our minds. Given the ongoing discussion in rust-lang#51919 about possibly renaming these APIs and since 1.29 goes to beta soon, I’d like to revert this stabilization for now until a decision is made in that PR. It’s possible that a decision will be made in time for 1.29, but there is no urgency. At most I expect this functionality to make it into 1.30.
bors added a commit that referenced this pull request Jul 31, 2018
Revert "Stabilize to_bytes and from_bytes for integers."

This reverts commit c8f9b84 / PR #51835, and reopens the tracking issue #49792.

These methods were stabilized in Rust 1.29, which is still in Nightly as of this writing. So my understanding is that it is still time to change our minds. Given the ongoing discussion in #51919 about possibly renaming these APIs and since 1.29 goes to beta soon, I’d like to revert this stabilization for now until a decision is made in that PR. It’s possible that a decision will be made in time for 1.29, but there is no urgency. At most I expect this functionality to make it into 1.30.
@kennytm kennytm removed the relnotes Marks issues that should be documented in the release notes of the next release. label Aug 1, 2018
@kennytm
Copy link
Member

kennytm commented Aug 1, 2018

This PR has been reverted by #52850 and no longer part of 1.29.

@tmccombs tmccombs deleted the stable-int-to-from-bytes branch August 16, 2018 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants