-
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 8 pull requests #100378
Rollup of 8 pull requests #100378
Conversation
Also refactor iOS, watchOS and tvOS common code.
bootstrap panic when running x fmt --check. running x fmt --check
This issue was most likely fixed by rust-lang#93805.
For some reason, adding some text to match against makes this test pass. Before, when it was *more* general, it was failing! This seems very likely to be a bug in htmldocck, which I'm going to investigate.
…rochenkov Add support for link-flavor rust-lld for macOS Also refactor iOS, watchOS and tvOS common code. The ``-arch`` argument was moved to the ``apple_base`` module instead of the target definitions for macOS. As ld64 requires ``-syslibroot`` to be passed, ``add_apple_sdk`` was modified accordingly.
…r=eddyb Remove logic related to deprecated nvptx-nvidia-cuda (32-bit) target As described in the MCP rust-lang/compiler-team#496 (comment) r? ``@eddyb``
Fixes bootstrap panic when running x fmt --check closes rust-lang#100258 wherein bootstrap panics when running x fmt --check. Fixed by replacing resume_unwind in rust-lang#98994. with process::exit.
Add regression test for rust-lang#93205 Closes rust-lang#93205. This issue was most likely fixed by rust-lang#93805.
…son, r=lcnr Refactor: remove a type string comparison
Fix doc links in core::time::Duration::as_secs
… r=lcnr Special-case references to leafs in valtree pretty-printing Fixes rust-lang#100313
…checked-rt-impl, r=scottmcm Inline CStr::from_bytes_with_nul_unchecked::rt_impl Currently `CStr::from_bytes_with_nul_unchecked::rt_impl` is not being inlined. The following function: ```rust pub unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) { CStr::from_bytes_with_nul_unchecked(bytes); } ``` Outputs the following assembly on current nightly ```asm example::from_bytes_with_nul_unchecked: jmp qword ptr [rip + _ZN4core3ffi5c_str4CStr29from_bytes_with_nul_unchecked7rt_impl17h026f29f3d6a41333E@GOTPCREL] ``` Meanwhile on beta this provides the following assembly: ```asm example::from_bytes_with_nul_unchecked: ret ``` This pull request adds `#[inline]` annotation to`rt_impl` to fix a code generation regression for `CStr::from_bytes_with_nul_unchecked`.
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (7bc32fa): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Successful merges:
Self::
links are "not in scope" when used inimpl
blocks across modules #93205)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup