-
Notifications
You must be signed in to change notification settings - Fork 13k
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 10 pull requests #78212
Rollup of 10 pull requests #78212
Conversation
This resolves issues where the cross-build of LLVM fails because it tries to link to the host's system libraries instead of the target's system libraries.
In this instance, we can just pass a &str slice and save an allocation.
.into() guarantees safety of the conversion. Furthermore, the minimum value of all uints is known to be 0.
…ut-ref, r=davidtwco Unify const-checking structured errors for `&mut` and `&raw mut` Resolves rust-lang#77414 as well as a FIXME.
Support signed integers and `char` in v0 mangling Likely we want more tests, to check the output is correct too: however, I wasn't sure what kind of test we needed, so I just added one similar to that added in rust-lang#77452 for now. r? @eddyb
…hewjasper Mark inout asm! operands as used in liveness pass Variables used in `inout` operands in inline assembly (that is, they're used as both input and output to some arbitrary assembly instruction) are being marked as read and written, but are not marked as being used in the RWU table during the liveness pass. This can result in such expressions triggering an unused variable lint warning. This is incorrect behavior- reads without uses are currently only used for compound assignments. We conservatively assume that an `inout` operand is being read and used in the context of the assembly instruction. Closes rust-lang#77915
…-Simulacrum Haiku: explicitly set CMAKE_SYSTEM_NAME when cross-compiling This resolves issues where the cross-build of LLVM fails because it tries to link to the host's system libraries instead of the target's system libraries.
…ay, r=jyn514,Nemo157 Greatly improve display for small mobile devices screens Fixes rust-lang#78014. The biggest change being the "search bar". Instead of having everything on one line, I decided to move the search input on its own: ![Screenshot from 2020-10-18 21-54-26](https://user-images.githubusercontent.com/3050060/96378530-c863a800-118c-11eb-8e82-a43fce312b5b.png) Another change is that now, we "break words" in the listing so that they don't grow too big: ![Screenshot from 2020-10-18 21-57-17](https://user-images.githubusercontent.com/3050060/96378555-ffd25480-118c-11eb-8a71-8f116c7edd93.png) r? @jyn514
…davidtwco Fix two small issues in compiler/rustc_lint/src/types.rs Two small improvements of `compiler/rustc_lint/src/types.rs`
…-builds, r=lcnr Fixed build failure of `rustfmt` Fixes rust-lang#78079 r? @eddyb cc @bjorn3
Add test case for rust-lang#77062 Closes rust-lang#77062
…-tracking-issue, r=withoutboats Add tracking issue number for pin_static_ref Forgot to add a tracking issue in rust-lang#77726. Opened rust-lang#78186 as tracking issue.
…, r=scottmcm Add `ControlFlow::is_{break,continue}` methods r? @scottmcm cc rust-lang#75744
📌 Commit 69e0658 has been approved by |
☀️ Test successful - checks-actions, checks-azure |
📣 Toolstate changed by #78212! Tested on commit ef3e386. 🎉 rls on windows: build-fail → test-pass (cc @Xanewok). |
Tested on commit rust-lang/rust@ef3e386. Direct link to PR: <rust-lang/rust#78212> 🎉 rls on windows: build-fail → test-pass (cc @Xanewok). 🎉 rls on linux: build-fail → test-pass (cc @Xanewok). 🎉 rustfmt on windows: build-fail → test-pass (cc @topecongiro @calebcartwright). 🎉 rustfmt on linux: build-fail → test-pass (cc @topecongiro @calebcartwright).
Successful merges:
&mut
and&raw mut
#77420 (Unify const-checking structured errors for&mut
and&raw mut
)char
in v0 mangling #77554 (Support signed integers andchar
in v0 mangling)rustfmt
#78156 (Fixed build failure ofrustfmt
)[(); usize::MAX]
#77062)ControlFlow::is_{break,continue}
methods #78200 (AddControlFlow::is_{break,continue}
methods)Failed merges:
r? @ghost