1. 02 8月, 2023 1 次提交
  2. 01 8月, 2023 39 次提交
    • B
      Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc · 828bdc2c
      bors 提交于
      Change default panic handler message format.
      
      This changes the default panic hook's message format from:
      
      ```
      thread '{thread}' panicked at '{message}', {location}
      ```
      
      to
      
      ```
      thread '{thread}' panicked at {location}:
      {message}
      ```
      
      This puts the message on its own line without surrounding quotes, making it easiser to read. For example:
      
      Before:
      ```
      thread 'main' panicked at 'env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`', src/main.rs:4:6
      ```
      After:
      ```
      thread 'main' panicked at src/main.rs:4:6:
      env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`
      ```
      
      ---
      
      See this PR by `@nyurik,` which does that for only multi-line messages (specifically because of `assert_eq`): https://github.com/rust-lang/rust/pull/111071
      
      This is the change that does that for *all* panic messages.
      828bdc2c
    • Y
      Fix windows test output. · 2c5ecf22
      Yuri Astrakhan 提交于
      2c5ecf22
    • B
      Auto merge of #114318 - matthiaskrgr:rollup-c7gcw18, r=matthiaskrgr · c435af0d
      bors 提交于
      Rollup of 7 pull requests
      
      Successful merges:
      
       - #111081 (impl SliceIndex<str> for (Bound<usize>, Bound<usize>))
       - #113394 (style-guide: Document style editions, start 2024 style edition)
       - #113588 (bootstrap: use git merge-base for LLVM CI download logic)
       - #113743 (Directly link more target docs)
       - #114262 (Improve the rust style guide doc)
       - #114309 (Update books)
       - #114313 ([rustc_data_structures] Simplify SortedMap::insert.)
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      c435af0d
    • M
      Rollup merge of #114313 - ttsugriy:sm-insert, r=petrochenkov · a9025502
      Matthias Krüger 提交于
      [rustc_data_structures] Simplify SortedMap::insert.
      
      It looks like current usage of `swap` is aimed at achieving what `std::mem::replace` does but more concisely and idiomatically.
      a9025502
    • M
      Rollup merge of #114309 - rustbot:docs-update, r=ehuss · ff8b96f8
      Matthias Krüger 提交于
      Update books
      
      ## rust-lang/reference
      
      7 commits in 1ea0178266b3f3f613b0fabdaf16a83961c99cdb..9cd5c5a6ccbd4c07c65ab5c69a53286280308c95
      2023-07-29 22:29:51 UTC to 2023-07-16 20:12:46 UTC
      
      - Fix merge queue building twice. (rust-lang/reference#1383)
      - Clarify UB around immutability & mutation (rust-lang/reference#1385)
      - mention the extra const UB (rust-lang/reference#1273)
      - Operator expressions: make the note about division by zero clearer. (rust-lang/reference#1384)
      - Make unsafe keyword docs less confusing (rust-lang/reference#1379)
      - Say that division by zero for primitive types panics (rust-lang/reference#1382)
      - Add CI trigger for merge queues. (rust-lang/reference#1381)
      
      ## rust-lang/rust-by-example
      
      3 commits in 8a87926a985ce32ca1fad1be4008ee161a0b91eb..07e0df2f006e59d171c6bf3cafa9d61dbeb520d8
      2023-07-24 11:37:55 UTC to 2023-07-24 11:35:36 UTC
      
      - Added attribute unused_labels - fixed warning. (rust-lang/rust-by-example#1729)
      - more explanation about panic (rust-lang/rust-by-example#1728)
      - chore: add the portuguese version of this project to `readme.md` (rust-lang/rust-by-example#1727)
      
      ## rust-lang/rustc-dev-guide
      
      26 commits in b5a12d95e32ae53791cc6ab44417774667ed2ac6..24eebb6df96d037aad285e4f7793bd0393a66878
      2023-07-30 11:23:23 UTC to 2023-07-11 06:02:34 UTC
      
      - fix(name-resolution): remove unnecessary closing paranthesis (rust-lang/rustc-dev-guide#1760)
      - fix(macro-expansion.md): fix the article `an` to `a` (rust-lang/rustc-dev-guide#1759)
      - fix(serialization.md): fix the name of a derive macro (rust-lang/rustc-dev-guide#1756)
      - fix(serialization.md): add a necessary plural suffix (rust-lang/rustc-dev-guide#1757)
      - fix(salsa.md): add punctuation to prevent confusion (rust-lang/rustc-dev-guide#1754)
      - fix(salsa.md): remove duplicate "To Be" verb (rust-lang/rustc-dev-guide#1755)
      - feat(fuzzing.md): make `halfempty` word a link (rust-lang/rustc-dev-guide#1750)
      - fix(about.md): use `a` instead of `an` (rust-lang/rustc-dev-guide#1751)
      - refactor(git.md): make git-scm links clickable (rust-lang/rustc-dev-guide#1747)
      - fix(walkthrough.md) add a comma operator to eliminate ambiguity (rust-lang/rustc-dev-guide#1749)
      - fix(git.md): remove a confusing end of sentence character (rust-lang/rustc-dev-guide#1748)
      - refactor(profiling/with_perf): remove a wrong to be verb (rust-lang/rustc-dev-guide#1746)
      - refactor(tests/headers): remove duplicate list item (rust-lang/rustc-dev-guide#1745)
      - refactor(test/headers.md): make the meaning more obvious (rust-lang/rustc-dev-guide#1744)
      - refactor(tests/ui): remove unnecessary duplicate word (rust-lang/rustc-dev-guide#1743)
      - refactor(compiletest): remove unnecessary duplicate word (rust-lang/rustc-dev-guide#1742)
      - generic_arguments.md: substs -> GenericArgs (rust-lang/rustc-dev-guide#1741)
      - fix(suggested): remove an unnecessary and confusing statement (rust-lang/rustc-dev-guide#1739)
      - fix(how-to-build-and-run): fix a typo ("fromer" -> "former") (rust-lang/rustc-dev-guide#1736)
      - fix(how-to-build-and-run): remove a wrong paragraph (rust-lang/rustc-dev-guide#1735)
      - coverage code has moved (rust-lang/rustc-dev-guide#1728)
      - linked issue is closed (rust-lang/rustc-dev-guide#1729)
      - remove duplicate reference in about-this-guide.md (rust-lang/rustc-dev-guide#1734)
      - Explain more in depth what early and late bound generic parameters are (rust-lang/rustc-dev-guide#1732)
      - add section for normalization with the new solver (rust-lang/rustc-dev-guide#1731)
      - Improve cleanup-crew.md with an example post (rust-lang/rustc-dev-guide#1730)
      ff8b96f8
    • M
      Rollup merge of #114262 - ShapelessCat:fix-style-guide-md, r=joshtriplett · 2fac3972
      Matthias Krüger 提交于
      Improve the rust style guide doc
      
      - Make the levels of headings consistent in this whole document.
         Before this change, the highest level of headings in some file is level 1, but in most of the files the that is level 2. Not consistent.
      
      - Fix some headings
      
      - Follow the markdown linter advices
        - Remove redundant empty lines
        - Surround each heading with empty lines
        - Use the same symbol for different levels of unordered list entries
      2fac3972
    • M
      Rollup merge of #113743 - workingjubilee:link-more-platform-support-docs, r=joshtriplett · 4e60d99a
      Matthias Krüger 提交于
      Directly link more target docs
      
      Some platforms were not linked from platform-support.md
      
      This fixes that, but errs towards extremely conservative, only directly linking platform docs if the docs actively mention the target, as otherwise I do not necessarily know if there was a reason for the omission.
      4e60d99a
    • M
      Rollup merge of #113588 - RalfJung:llvm-merge-base, r=albertlarsan68 · 849f4f88
      Matthias Krüger 提交于
      bootstrap: use git merge-base for LLVM CI download logic
      
      Fixes https://github.com/rust-lang/rust/issues/101907
      I tested this with a local branch that has extra merge commits due to Miri, and it worked fine there. But I am sure there are tons of other situations I did not think of...
      
      r? `@jyn514`
      849f4f88
    • M
      Rollup merge of #113394 - joshtriplett:style-edition-snapshot, r=calebcartwright · 02426434
      Matthias Krüger 提交于
      style-guide: Document style editions, start 2024 style edition
      
      Link to a snapshot for the 2015/2018/2021 style edition.
      
      This is a draft, because I'd like to wait for a few style guide fixes to merge
      before snapshotting the 2015/2018/2021 style edition:
      
      - https://github.com/rust-lang/rust/pull/113145
      - https://github.com/rust-lang/rust/pull/113380
      - https://github.com/rust-lang/rust/pull/113384
      - https://github.com/rust-lang/rust/pull/113385
      - https://github.com/rust-lang/rust/pull/113386
      - https://github.com/rust-lang/rust/pull/113392
      
      I'd like to wait for these for two reasons: to make it easier to see the
      differences between the 2015/2018/2021 style edition and the 2024 style
      edition (without the noise of guide-wide changes), and to minimize confusion so
      that bugfixes to the style guide that we include in the previous edition don't
      look like they're only part of the 2024 style edition.
      
      I've used "Miscellaneous `rustfmt` bugfixes" as a starting point for the list
      of 2024 changes, for now. We can update that when we add more 2024 changes.
      
      The section added in this PR can then serve as a baseline for our drafts of
      2024 style edition changes.
      
      In the meantime, I'd like to get someone from `@rust-lang/style` to review and
      approve the text here; I'll update it with a commit hash when the above PRs
      have merged.
      02426434
    • M
      Rollup merge of #111081 - mattfbacon:master, r=workingjubilee · 14a5dc52
      Matthias Krüger 提交于
      impl SliceIndex<str> for (Bound<usize>, Bound<usize>)
      
      This impl is conspicuously missing.
      14a5dc52
    • B
      Auto merge of #111753 - cjgillot:simp-place-conflict, r=compiler-errors · 866710c5
      bors 提交于
      Only consider places with the same local in each_borrow_involving_path.
      
      This avoids having a busy loop that repeatedly checks for equality of locals.
      866710c5
    • J
      Directly link more target docs · 467cb52c
      Jubilee Young 提交于
      Some platforms were not linked from platform-support.md
      
      This fixes that, but errs towards extremely conservative,
      only directly linking platform docs if the docs actively
      mention the target, as otherwise I do not necessarily
      know if there was a reason for the omission.
      467cb52c
    • B
      Auto merge of #114310 - flip1995:clippyup, r=Manishearth · b484c878
      bors 提交于
      Update Clippy
      
      r? `@Manishearth`
      
      This is a bit delayed, because I thought it is a difficult conflict resolution and didn't have time for that over the weekend. Turns out, I just used the wrong merge base and it was actually easy... Don't do syncs in the middle of the night (even though I broke this rule with this PR again).
      b484c878
    • J
    • J
      style-guide: Document style editions, start 2024 style edition · 0217565e
      Josh Triplett 提交于
      Link to a snapshot for the 2015/2018/2021 style edition.
      0217565e
    • T
      [rustc_data_structures] Simplify SortedMap::insert. · 9eae73a5
      Taras Tsugrii 提交于
      It looks like current usage of `swap` is aimed at achieving what
      `std::mem::replace` does but more concisely and idiomatically.
      9eae73a5
    • B
      Auto merge of #114308 - matthiaskrgr:rollup-m64bkm7, r=matthiaskrgr · 706a4d9a
      bors 提交于
      Rollup of 7 pull requests
      
      Successful merges:
      
       - #109318 (Make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent with `Mutex` and `RwLock`)
       - #113701 (Re-export core::ffi::FromBytesUntilNulError in std::ffi)
       - #113804 (Resolve correct archive version name in `opt-dist`)
       - #114165 (Add missing rvalues to smir)
       - #114182 (clean up after 113312)
       - #114193 (Update lexer emoji diagnostics to Unicode 15.0)
       - #114200 (Detect trait upcasting through struct tail unsizing in new solver select)
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      706a4d9a
    • P
      Merge commit '5436dba8' into clippyup · 53f09d95
      Philipp Krones 提交于
      53f09d95
    • B
      Auto merge of #114307 - matthiaskrgr:rollup-8k5rq16, r=matthiaskrgr · db7ff98a
      bors 提交于
      Rollup of 8 pull requests
      
      Successful merges:
      
       - #112858 (Update Android system definitions and add riscv-linux-android as tier 3 target)
       - #113717 (remove repetitive words)
       - #113725 (Move MinGW linker dist option to proper section)
       - #113740 (Update `.gitmodules` to use shallow submodule clones)
       - #113889 (Fix ice tests when librustc-driver is linked dynamically)
       - #113906 (etc: add `RUSTC_BOOTSTRAP` to rust-analyzer config)
       - #113920 (fix(resolve): report unresolved imports firstly)
       - #114111 (Improve test case for experimental API remove_matches)
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      db7ff98a
    • R
      Update books · 1216ae75
      rustbot 提交于
      1216ae75
    • M
      Rollup merge of #114200 - compiler-errors:detect-tail-unsize-then-upcast, r=lcnr · c73e232d
      Matthias Krüger 提交于
      Detect trait upcasting through struct tail unsizing in new solver select
      
      Oops, we were able to hide trait upcasting behind a parent unsize goal that evaluated to `Certainty::Yes`. Let's do rematching for `Certainty::Yes` unsize goals with `BuiltinImplSource::Misc` sources (corresponding to all of the other unsize rules) to make sure we end up selecting any nested goals which may be satisfied via `BuiltinImplSource::TraitUpcasting` or `::TupleUnsizing`.
      
      r? ``@lcnr``
      c73e232d
    • M
      Rollup merge of #114193 - crlf0710:lexer_unicode15, r=Manishearth · 57c57a55
      Matthias Krüger 提交于
      Update lexer emoji diagnostics to Unicode 15.0
      
      This replaces the `unic-emoji-char` dep tree (which hasn't been updated for a while) with `unicode-properties` crate which contains Unicode 15.0 data.
      
      Improves diagnostics for added emoji characters in recent years. (See tests).
      
      cc #101840
      
      cc ``@Manishearth``
      57c57a55
    • M
      Rollup merge of #114182 - Ddystopia:cleanup-after-113312, r=lcnr · 7c6942a1
      Matthias Krüger 提交于
      clean up after 113312
      
      Minor edits for #113312
      
      cc ``@RalfJung``
      r? ``@lcnr``
      7c6942a1
    • M
      Rollup merge of #114165 - ouz-a:smir1, r=spastorino · 35ba6168
      Matthias Krüger 提交于
      Add missing rvalues to smir
      
      Added few missing rvalues to smir, not entirely confident about changes to `Aggregate`
      
      cc https://github.com/rust-lang/project-stable-mir/issues/13
      
      r? `@oli-obk`
      35ba6168
    • M
      Rollup merge of #113804 - Kobzol:opt-dist-version, r=Mark-Simulacrum · 756da768
      Matthias Krüger 提交于
      Resolve correct archive version name in `opt-dist`
      
      Should resolve the master part of https://github.com/rust-lang/rust/issues/113784.
      
      r? `@Mark-Simulacrum`
      756da768
    • M
      Rollup merge of #113701 - aswild:std-ffi-frombytesuntilnul, r=dtolnay · efd68db7
      Matthias Krüger 提交于
      Re-export core::ffi::FromBytesUntilNulError in std::ffi
      
      Like the other CStr and CString error types, make a re-export for std::ffi::FromBytesUntilNulError.
      
      This seems to have slipped through the cracks in the cstr_from_bytes_until_nul implementation and core_c_str migration.
      
      Tracking Issue: #95027
      efd68db7
    • M
      Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnay · bcfa49f1
      Matthias Krüger 提交于
      Make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent with `Mutex` and `RwLock`
      
      `Mutex` prints `<locked>` as a field value when its inner value cannot be accessed, but the lazy types print a fixed string like "`OnceCell(Uninit)`". This could cause confusion if the inner type is a unit type named `Uninit` and does not respect the pretty-printing flag. With this change, the format message is now "`OnceCell(<uninit>)`", consistent with `Mutex`.
      bcfa49f1
    • M
      Rollup merge of #114111 - allaboutevemirolive:add-test-case-string, r=Mark-Simulacrum · e981db05
      Matthias Krüger 提交于
      Improve test case for experimental API remove_matches
      
      ## Add Test Cases for `remove_matches` Function
      
      ### Motivation
      
      After reading the discussion in [this GitHub thread](https://github.com/rust-lang/rust/pull/71780), I'm trying to redesign the current API to use less memory when working with `String` and to make it simpler. I've discovered that some test cases are very helpful in ensuring that the new API behaves as intended. I'm still in the process of redesigning the current API, and these test cases have proven to be very useful.
      
      ### Testing
      
      The current test has been tested with the command `./x test --stage 0 library/alloc`.
      
      ### Overview
      
      This pull request adds several new test cases for the `remove_matches` function to make sure it works correctly in different situations. The `remove_matches` function is used to get rid of all instances of a specific pattern from a given text. These test cases thoroughly check how the function behaves in various scenarios.
      
      ### Test Cases
      
      1. **Single Pattern Occurrence** (`test_single_pattern_occurrence`):
         - Description: Tests the removal of a single pattern occurrence from the text.
         - Input: Text: "abc", Pattern: 'b'
         - Expected Output: "ac"
      
      2. **Repeat Test Single Pattern Occurrence** (`repeat_test_single_pattern_occurrence`):
         - Description: Repeats the previous test case to ensure consecutive removal of the same pattern.
         - Input: Text: "ac", Pattern: 'b'
         - Expected Output: "ac"
      
      3. **Single Character Pattern** (`test_single_character_pattern`):
         - Description: Tests the removal of a single character pattern.
         - Input: Text: "abcb", Pattern: 'b'
         - Expected Output: "ac"
      
      4. **Pattern with Special Characters** (`test_pattern_with_special_characters`):
         - Description: Tests the removal of a pattern containing special characters.
         - Input: Text: "ศไทย中华Việt Nam; foobarศ", Pattern: 'ศ'
         - Expected Output: "ไทย中华Việt Nam; foobar"
      
      5. **Pattern Empty Text and Pattern** (`test_pattern_empty_text_and_pattern`):
         - Description: Tests the removal of an empty pattern from an empty text.
         - Input: Text: "", Pattern: ""
         - Expected Output: ""
      
      6. **Pattern Empty Text** (`test_pattern_empty_text`):
         - Description: Tests the removal of a pattern from an empty text.
         - Input: Text: "", Pattern: "something"
         - Expected Output: ""
      
      7. **Empty Pattern** (`test_empty_pattern`):
         - Description: Tests the behavior of removing an empty pattern from the text.
         - Input: Text: "Testing with empty pattern.", Pattern: ""
         - Expected Output: "Testing with empty pattern."
      
      8. **Multiple Consecutive Patterns 1** (`test_multiple_consecutive_patterns_1`):
         - Description: Tests the removal of multiple consecutive occurrences of a pattern.
         - Input: Text: "aaaaa", Pattern: 'a'
         - Expected Output: ""
      
      9. **Multiple Consecutive Patterns 2** (`test_multiple_consecutive_patterns_2`):
         - Description: Tests the removal of a longer pattern that occurs consecutively.
         - Input: Text: "Hello **world****today!**", Pattern: "**"
         - Expected Output: "Hello worldtoday!"
      
      10. **Case Insensitive Pattern** (`test_case_insensitive_pattern`):
          - Description: Tests the removal of a case-insensitive pattern from the text.
          - Input: Text: "CASE ** SeNsItIvE ** PaTtErN.", Pattern: "sEnSiTiVe"
          - Expected Output: "CASE ** SeNsItIvE ** PaTtErN."
      e981db05
    • M
      Rollup merge of #113920 - bvanjoi:fix-81413, r=petrochenkov · 2de51cce
      Matthias Krüger 提交于
      fix(resolve): report unresolved imports firstly
      
      Fixes #81413
      
      An easy fix, r? ```@petrochenkov```
      2de51cce
    • M
      Rollup merge of #113906 - notriddle:notriddle/cargo-extra-env, r=Mark-Simulacrum · 82c50ce9
      Matthias Krüger 提交于
      etc: add `RUSTC_BOOTSTRAP` to rust-analyzer config
      
      Fixes the problem reported in https://github.com/rust-lang/rust/issues/112391#issuecomment-1597224941
      82c50ce9
    • M
      Rollup merge of #113889 - fortanix:raoul/fix_ice_tests_for_sgx_platform, r=Mark-Simulacrum · 93d65adb
      Matthias Krüger 提交于
      Fix ice tests when librustc-driver is linked dynamically
      
      Running `dump-ice-to-disk`and `short-ice` tests on Linux targeting `x86_64-fortanix-unknown-sgx` platform results in:
      ```
      jenkins@31cf43196355:~/workspace/rust-sgx-ci/Raoul/rust$ cat /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/test/run-make/dump-ice-to-disk/dump-ice-to-disk/*
      /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
      /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
      /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
      /home/jenkins/workspace/rust-sgx-ci/Raoul/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc: error while loading shared libraries: librustc_driver-fa98927b935b2881.so: cannot open shared object file: No such file or directory
      ```
      Setting the LD_LIBRARY_PATH explicitly to `$(HOST_RPATH_DIR)` in these tests Makefiles resolves the issue. The `thumb-none-qemu` and `thumb-none-cortex-m` run-make tests do something similar.
      
      cc: ```@jethrogb``` ```@vn971``` ```@mkaynov```
      93d65adb
    • M
      Rollup merge of #113740 - tgross35:use-shallow-submodules, r=Mark-Simulacrum · ba196c2e
      Matthias Krüger 提交于
      Update `.gitmodules` to use shallow submodule clones
      
      This change makes submodule checkouts shallow by default. This significantly reduces the time needed to do a recursive checkout when `--shallow-submodules` is not specified, such as when `x` is not being used.
      ba196c2e
    • M
      Rollup merge of #113725 - mati865:config-move-mingw-option-to-dist, r=Mark-Simulacrum · 14e11c80
      Matthias Krüger 提交于
      Move MinGW linker dist option to proper section
      
      Using this option currently results in the error:
      ```
      failed to parse TOML configuration 'config.toml': unknown field `include-mingw-linker`, expected one of `optimize`, `debug`, `codegen-units`, `codegen-units-std`, `debug-assertions`, `debug-assertions-std`, `overflow-checks`, `overflow-checks-std`, `debug-logging`, `debuginfo-level`, `debuginfo-level-rustc`, `debuginfo-level-std`, `debuginfo-level-tools`, `debuginfo-level-tests`, `split-debuginfo`, `run-dsymutil`, `backtrace`, `incremental`, `parallel-compiler`, `default-linker`, `channel`, `description`, `musl-root`, `rpath`, `verbose-tests`, `optimize-tests`, `codegen-tests`, `omit-git-hash`, `dist-src`, `save-toolstates`, `codegen-backends`, `lld`, `use-lld`, `llvm-tools`, `deny-warnings`, `backtrace-on-ice`, `verify-llvm-ir`, `thin-lto-import-instr-limit`, `remap-debuginfo`, `jemalloc`, `test-compare-mode`, `llvm-libunwind`, `control-flow-guard`, `new-symbol-mangling`, `profile-generate`, `profile-use`, `download-rustc`, `lto`, `validate-mir-opts` for key `rust`
      ```
      That's because the option [belongs to `dist` section](https://github.com/rust-lang/rust/blob/bef6ff618f17398775e9d8cd23a6f47d983869dc/src/bootstrap/config.rs#L861).
      
      cc #108581
      14e11c80
    • M
      Rollup merge of #113717 - cuishuang:master, r=Nilstrieb · 58f963fb
      Matthias Krüger 提交于
      remove repetitive words
      58f963fb
    • M
      Rollup merge of #112858 - chriswailes:riscv64-android, r=Mark-Simulacrum · d0ae0b31
      Matthias Krüger 提交于
      Update Android system definitions and add riscv-linux-android as tier 3 target
      
      This PR includes the following:
      * Corrected Android system definitions for some types
      * Support for the riscv64-linux-android target
      
      The authoritative types for the system definitions can be found here: https://cs.android.com/android/platform/superproject/+/master:bionic/libc/include/sys/stat.h
      
      Fixes rust-lang/compiler-team#640
      d0ae0b31
    • O
      add missing rvalues to smir · 2a3da87c
      ouz-a 提交于
      2a3da87c
    • M
      Work around missing <*str>::len · f189d00d
      Matt Fellenz 提交于
      f189d00d
    • M
      e12e7fcc
    • R
      apply nit · 314fe5dd
      Ralf Jung 提交于
      Co-authored-by: NAlbert Larsan <albertlarsan@unbon.cafe>
      314fe5dd