-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Revert "Constify SystemTime methods" #146473
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
Conversation
This reverts commit 7ce620d. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation.
...No, GitHub's UI just didn't load that page for some reason. |
I would recommend not closing the tracking issue on the revert, since once #144847 lands it would be pretty easy to redo the PR without any const hacks, and I would like to do so. |
…rkingjubilee Revert "Constify SystemTime methods" This reverts rust-lang#144519. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation. Fixes rust-lang#146228. Closes rust-lang#144517 (since the feature is gone). r? `@tgross35` Cc `@clarfonthey`
We can reopen the tracking issue then? Seems confusing to have a tracking issue for a not-currently-existing feature. |
|
Rollup of 4 pull requests Successful merges: - #146389 (Convert `no_std` and `no_core` to the new attribute infrastructure) - #146452 (Improve `alloc::Layout` coverage) - #146473 (Revert "Constify SystemTime methods") - #146477 (Improve `core::char` coverage) r? `@ghost` `@rustbot` modify labels: rollup
I think this broke on big ci for wasi reasons? @bors r- |
That's how it works for RFCs and accepted ACPs, and also, most PRs, since you need to make one to get an ID to fill in. Also, "we" means folks who have permissions to moderate on the R-L org here, so, even if I created the issue I can't reopen it, so, that is another extra thing that's necessary here. I'm mostly trying to avoid extra work, but I guess that I'm just making more work by talking about the extra work necessary, so, it doesn't really matter. |
@bors try jobs= |
Unknown value for argument "jobs". Run |
@bors try jobs=dist-various-* |
This comment has been minimized.
This comment has been minimized.
Revert "Constify SystemTime methods" try-job: dist-various-*
@bors2 help |
You can use the following commands: PR management
Repository management
Meta commands
|
@bors r=workingjubilee |
Ah, missed that. Bother. |
Rollup of 8 pull requests Successful merges: - #113095 (Document `become` keyword) - #146159 (Some hygiene doc improvements) - #146171 (tidy: check that error messages don't start with a capitalized letter) - #146419 (Update the arm-* and aarch64-* platform docs.) - #146473 (Revert "Constify SystemTime methods") - #146506 (Fix small typo in check-cfg.md) - #146517 (fix Condvar::wait_timeout docs) - #146521 (document `core::ffi::VaArgSafe`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #146473 - RalfJung:system-time-deconst, r=workingjubilee Revert "Constify SystemTime methods" This reverts #144519. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation. Fixes #146228. Closes #144517 (since the feature is gone). r? `@tgross35` Cc `@clarfonthey`
This reverts #144519. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation.
Fixes #146228.
Closes #144517 (since the feature is gone).
r? @tgross35
Cc @clarfonthey