-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 5 pull requests #114980
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
Rollup of 5 pull requests #114980
Conversation
These are common alternate names, usually a less-abbreviated form, for the operation; e.g. `arctan` instead of `atan`. Prompted by <https://users.rust-lang.org/t/64-bit-trigonometry/98599>
When I was learning Rust I looked for “a modulo function” and couldn’t find one, so thought I had to write my own; it wasn't at all obvious that a function with “rem” in the name was the function I wanted. Hopefully this will save the next learner from that. However, it does have the disadvantage that the top results in rustdoc for “mod” are now these aliases instead of the Rust keyword, which probably isn't ideal.
…on-hehehee, r=WaffleLapkin Add myself back to review rotation r? ``@ghost``
…-pgo, r=lqd `ignore-cross-compile` on `optimization-remarks-dir-pgo` test We noticed this on our upstream pull on ferrocene a week ago as it was failing our CI. The test attempts to run the produced binary which won't work when cross compiling.
Add doc aliases for trigonometry and other f32,f64 methods. These are common alternate names, usually a less-abbreviated form, for the operation; e.g. `arctan` instead of `atan`. Prompted by <https://users.rust-lang.org/t/64-bit-trigonometry/98599>
…rrors Add a test to check that inline const is in required_consts This was a commit in rust-lang#104087. This commit, as a test, can go in while the overall inline const stabilisation is blocked. Suggested in rust-lang#76001 (comment)
Add `modulo` and `mod` as doc aliases for `rem_euclid`. When I was learning Rust I looked for “a modulo function” and couldn’t find one, so thought I had to write my own; it wasn't at all obvious that a function with “rem” in the name was the function I wanted. Hopefully this will save the next learner from that. However, it does have the disadvantage that the top results in rustdoc for “mod” are now these aliases instead of the Rust keyword, which probably isn't ideal.
@bors r+ rollup=never p=5 |
⌛ Testing commit 8e0a8cd with merge a3857cde6e7d59b87b00aa547e98da5b17db2d6b... |
@bors force |
@bors r+ rollup=never p=5 |
💡 This pull request was already approved, no need to approve it again.
|
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: d06ca0ffaf In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (3e50a64): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 633.508s -> 633.229s (-0.04%) |
Successful merges:
ignore-cross-compile
onoptimization-remarks-dir-pgo
test #114958 (ignore-cross-compile
onoptimization-remarks-dir-pgo
test)modulo
andmod
as doc aliases forrem_euclid
. #114977 (Addmodulo
andmod
as doc aliases forrem_euclid
.)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup