Skip to content

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

Merged
merged 10 commits into from
Aug 19, 2023
Merged

Rollup of 5 pull requests #114980

merged 10 commits into from
Aug 19, 2023

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

WaffleLapkin and others added 10 commits August 18, 2023 04:00
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.
@rustbot rustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Aug 19, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Aug 19, 2023

📌 Commit 8e0a8cd has been approved by matthiaskrgr

It is now in the queue for this repository.

@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 Aug 19, 2023
@bors
Copy link
Collaborator

bors commented Aug 19, 2023

⌛ Testing commit 8e0a8cd with merge a3857cde6e7d59b87b00aa547e98da5b17db2d6b...

@matthiaskrgr
Copy link
Member Author

@bors force

@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Aug 19, 2023

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Collaborator

bors commented Aug 19, 2023

📌 Commit 8e0a8cd has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Aug 19, 2023

⌛ Testing commit 8e0a8cd with merge 3e50a64...

@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors
Copy link
Collaborator

bors commented Aug 19, 2023

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 3e50a64 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 19, 2023
@bors bors merged commit 3e50a64 into rust-lang:master Aug 19, 2023
@rustbot rustbot added this to the 1.73.0 milestone Aug 19, 2023
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#114953 Add myself back to review rotation 4965d8b23f3a68f10f4fe3311b6878eac256d82d (link)
#114958 ignore-cross-compile on optimization-remarks-dir-pgo te… 53ea88c73edb9c40a22b3d284ac83f543e3c1084 (link)
#114971 Add doc aliases for trigonometry and other f32,f64 methods. c1d358963793304c1e37758d73976ca1825bbbde (link)
#114972 Add a test to check that inline const is in required_consts d11a3e33cd013338f8ebe8cca5e30a80fd52c31e (link)
#114977 Add modulo and mod as doc aliases for rem_euclid. 25541cfbe384cd10adf1eeaaf50203ca99957088 (link)

previous master: d06ca0ffaf

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (3e50a64): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This 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.

mean range count
Regressions ❌
(primary)
3.9% [3.9%, 3.9%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-3.3% [-4.2%, -2.5%] 2
Improvements ✅
(secondary)
-4.6% [-4.8%, -4.4%] 2
All ❌✅ (primary) -0.9% [-4.2%, 3.9%] 3

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 633.508s -> 633.229s (-0.04%)
Artifact size: 347.19 MiB -> 347.16 MiB (-0.01%)

@matthiaskrgr matthiaskrgr deleted the rollup-3y7651q branch March 16, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues & PRs about the rust-lang/rust repository itself merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants