Skip to content
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 7 pull requests #111346

Merged
merged 15 commits into from
May 8, 2023
Merged

Rollup of 7 pull requests #111346

merged 15 commits into from
May 8, 2023

Commits on Apr 15, 2023

  1. Configuration menu
    Copy the full SHA
    bf264c7 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Configuration menu
    Copy the full SHA
    930eece View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Configuration menu
    Copy the full SHA
    a427d41 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. Remove identity_future from stdlib

    This function/lang_item was introduced in rust-lang#104321 as a temporary workaround of future lowering.
    The usage and need for it went away in rust-lang#104833.
    After a bootstrap update, the function itself can be removed from `std`.
    Swatinem committed May 7, 2023
    Configuration menu
    Copy the full SHA
    48dfbee View commit details
    Browse the repository at this point in the history
  2. PS Vita std support

    nikarh committed May 7, 2023
    Configuration menu
    Copy the full SHA
    3ba3df3 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    8ad78cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5382ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e61bb88 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#105354 - BlackHoleFox:apple-deployment-prin…

    …ter, r=oli-obk
    
    Add deployment-target --print flag for Apple targets
    
    This is very useful for crates that need to know what the Apple OS deployment target is for their build scripts or inside of a build environment. Right now, the defaults just get copy/pasted around the ecosystem since they've been stable for so long. But with rust-lang#104385 in progress, that won't be true anymore and everything will need to move. Ideally whenever it happens again, this could be less painful as everything can ask the compiler what its default is instead.
    
    To show examples of the copy/paste proliferation, here's some crates and/or apps that do:
    - [cc](https://github.com/rust-lang/cc-rs/pull/708/files), Soon
    -  [mac-notification-sys](https://github.com/h4llow3En/mac-notification-sys/pull/46/files#diff-d0d98998092552a1d3259338c2c71e118a5b8343dd4703c0c7f552ada7f9cb42R10-R12)
    - [PyO3](https://github.com/PyO3/maturin/blob/ccb02d1aa1cc41e82a3572a3c8b35cace15f3e78/src/target.rs#L755-L758)
    - [Anki](https://github.com/ankitects/anki/blob/613b5c1034cc9943f3f68d818ae22b2e0acec877/build/runner/src/bundle/artifacts.rs#L49-L54)
    - [jsc-rs](https://github.com/Brooooooklyn/jsc-rs/blob/37767267568fb2de62fc441473e7d158dd980520/xtask/src/build.rs#L402-L405)
    ... and probably more that a simple GitHub codesearch didn't see
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    e3eb6a8 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#110377 - chrisnc:armv7-atomic-64, r=cjgillot

    Update max_atomic_width of armv7r and armv7_sony_vita targets to 64.
    
    All armv7a and armv7r implementations support `ldrexd`/`strexd`, only armv7m does not.
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    c9b4c63 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#110638 - nikarh:vita, r=Mark-Simulacrum

    STD support for PSVita
    
    This PR adds std support for `armv7-sony-vita-newlibeabihf` target.
    
    The work here is fairly similar to rust-lang#95897, just for a different target platform.
    
    This depends on the following pull requests:
    
    rust-lang/backtrace-rs#523
    rust-lang/libc#3209
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    4df84a1 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#111211 - compiler-errors:negative-bounds-su…

    …per, r=TaKO8Ki
    
    Don't compute trait super bounds unless they're positive
    
    Fixes rust-lang#111207
    
    The comment is modified to explain the rationale for why we even have this recursive call to supertraits in the first place, which doesn't apply to negative bounds since they don't elaborate at all.
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    c145d93 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#111315 - Swatinem:rm-identitiy-future, r=Ma…

    …rk-Simulacrum
    
    Remove `identity_future` from stdlib
    
    This function/lang_item was introduced in rust-lang#104321 as a temporary workaround of future lowering. The usage and need for it went away in rust-lang#104833.
    After a bootstrap update, the function itself can be removed from `std`.
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    28b9696 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#111331 - taiki-e:s390x-asm-cc, r=Amanieu

    Mark s390x condition code register as clobbered in inline assembly
    
    Various s390x instructions (arithmetic operations, logical operations, comparisons, etc. see also "Condition Codes" section in [z/Architecture Reference Summary](https://www.ibm.com/support/pages/zarchitecture-reference-summary)) modify condition code register `cc`, but AFAIK there is currently no way to mark it as clobbered in `asm!`.
    
    `cc` register definition in LLVM:
    https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/SystemZ/SystemZRegisterInfo.td#L320
    
    This PR also updates asm_experimental_arch docs in the unstable-book to mention s390x registers.
    
    cc `@uweigand`
    
    r? `@Amanieu`
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    c122ac3 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#111332 - loongarch-rs:inline-asm, r=Amanieu

    Improve inline asm for LoongArch
    
    This PR is a sub-part of rust-lang#111235, to improve inline asm for LoongArch.
    
    r? `@Amanieu`
    JohnTitor authored May 8, 2023
    Configuration menu
    Copy the full SHA
    2a8adcc View commit details
    Browse the repository at this point in the history