-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 4 pull requests #127851
Rollup of 4 pull requests #127851
Conversation
These need to get their safety story straight
This previously failed on Windows because the `llvm_config` file was open as read-only.
…tgross35 Make more Windows functions `#![deny(unsafe_op_in_unsafe_fn)]` As part of rust-lang#127747, I've evaluated some more Windows functions and added `unsafe` blocks where necessary. Some are just trivial wrappers that "inherit" the full unsafety of their function, but for others I've added some safety comments. A few functions weren't actually unsafe at all. I think they were just using `unsafe fn` to avoid an `unsafe {}` block. I'm not touching `c.rs` yet because that is partially being addressed by another PR and also I have plans to further reduce the number of wrapper functions we have in there. r? libs
Prevent double reference in generic futex In the Windows futex implementation we were a little lax at allowing references to references (i.e. `&&`) which can lead to deadlocks due to reading the wrong memory address. This uses a trait to tighten the constraints and ensure this doesn't happen. r? libs
Reviewer on vacation ``@jhpratt`` asked to be set as on vacation
…onur-ozkan bootstrap: open `llvm-config` as r+w This previously failed on Windows and prevented building on Windows for compiler stuff because the `llvm-config` file was open as read-only. Tested locally on a Windows machine. Fixes rust-lang#127849.
@bors r+ rollup=never p=5 |
Rollup of 4 pull requests Successful merges: - rust-lang#127763 (Make more Windows functions `#![deny(unsafe_op_in_unsafe_fn)]`) - rust-lang#127813 (Prevent double reference in generic futex) - rust-lang#127847 (Reviewer on vacation) - rust-lang#127850 (bootstrap: open `llvm-config` as r+w) r? `@ghost` `@rustbot` modify labels: rollup
💔 Test failed - checks-actions |
@bors retry I'm not sure what happened to the apple builder, it just kinda stopped part way through? |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 3de0a7c716 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (08cdc2f): 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)This benchmark run did not return any relevant results for this metric. 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: 768.642s -> 769.855s (0.16%) |
Successful merges:
#![deny(unsafe_op_in_unsafe_fn)]
#127763 (Make more Windows functions#![deny(unsafe_op_in_unsafe_fn)]
)llvm-config
as r+w #127850 (bootstrap: openllvm-config
as r+w)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup