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 9 pull requests #109097

Merged
merged 21 commits into from
Mar 14, 2023
Merged

Rollup of 9 pull requests #109097

merged 21 commits into from
Mar 14, 2023

Commits on Feb 24, 2023

  1. Stabilize atomic_as_ptr

    tgross35 committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    318be2b View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2023

  1. remove unused imports

    stlankes committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    daf31a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

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

Commits on Mar 12, 2023

  1. Document BinOp::is_checkable

    tmiasko committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    b16d6cc View commit details
    Browse the repository at this point in the history
  2. create config::tests::detect_src_and_out test for bootstrap

    Signed-off-by: ozkanonur <work@onurozkan.dev>
    onur-ozkan committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    58c7b67 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. simd-wide-sum test: adapt for LLVM 17 codegen change

    After llvm/llvm-project@0d4a709
    LLVM becomes more clever and turns `@wider_reduce_loop` into an alias:
    
    https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/17806#0186da6b-582c-46bf-a227-1565fa0859ac/743-766
    
    This adapts the test to prevent this.
    krasimirgg committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    ed8dc5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c32527f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    868aa42 View commit details
    Browse the repository at this point in the history
  4. Better names?

    compiler-errors committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    84d254e View commit details
    Browse the repository at this point in the history
  5. Don't use fd-lock on Solaris in bootstrap

    ...as Solaris is missing flock()
    
    fixes rust-lang#103630
    psumbera committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    04dfedb View commit details
    Browse the repository at this point in the history
  6. Update books

    rustbot committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f044156 View commit details
    Browse the repository at this point in the history
  7. Gracefully handle #[target_feature] on statics

    The was careful around not calling `fn_sig` on not-functions but well,
    it wasn't careful enough. This commit makes it a little more careful and
    also adds tests for a bunch more item kinds.
    Noratrieb committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    34be05e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#108419 - tgross35:atomic-as-ptr, r=m-ou-se

    Stabilize `atomic_as_ptr`
    
    Fixes rust-lang#66893
    
    This stabilizes the `as_ptr` methods for atomics. The stabilization feature gate used here is `atomic_as_ptr` which supersedes `atomic_mut_ptr` to match the change in rust-lang#107736.
    
    This needs FCP.
    
    New stable API:
    
    ```rust
    impl AtomicBool {
        pub const fn as_ptr(&self) -> *mut bool;
    }
    
    impl AtomicI32 {
        pub const fn as_ptr(&self) -> *mut i32;
    }
    
    // Includes all other atomic types
    
    impl<T> AtomicPtr<T> {
        pub const fn as_ptr(&self) -> *mut *mut T;
    }
    ```
    
    r? libs-api
    ``@rustbot`` label +needs-fcp
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    e670379 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#108507 - hermitcore:new, r=m-ou-se

    use `as_ptr` to determine the address of atomics
    
    The PR rust-lang#107736 renamed  atomic `as_mut_ptr` to `as_ptr`. Consequently, the futex implementation of the tier-3 platform `RutyHermit` has to use this new interface. In addition, this PR removes also an unused import.
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    96f4497 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#108607 - psumbera:solaris-no-flock-bootstra…

    …p, r=albertlarsan68
    
    Don't use fd-lock on Solaris in bootstrap
    
    ...as Solaris is missing flock()
    
    fixes rust-lang#103630
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    b4c7fc4 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108830 - compiler-errors:new-solver-fast-re…

    …ject-faster, r=lcnr
    
    Treat projections with infer as placeholder during fast reject in new solver
    
    r? ``@lcnr``
    
    Kind of a shame that we need to change all of the call sites for `for_each_relevant_impl`, etc. to pass an extra parameter. I guess I could have the "default" fn which calls a configurable fn?
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    6cec8cb View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#109055 - ozkanonur:detect_src_and_out, r=al…

    …bertlarsan68
    
    create `config::tests::detect_src_and_out` test for bootstrap
    
    Resolves one of the `FIXME` in bootstrap
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f33292f View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#109058 - tmiasko:is-checkable, r=jackh726

    Document BinOp::is_checkable
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    9fc8de0 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#109081 - krasimirgg:llvm-17-simd-wide-sum, …

    …r=nikic
    
    simd-wide-sum test: adapt for LLVM 17 codegen change
    
    After llvm/llvm-project@0d4a709 LLVM becomes more clever and turns ```@wider_reduce_loop``` into an alias:
    
    https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/17806#0186da6b-582c-46bf-a227-1565fa0859ac/743-766
    
    This adapts the test to prevent this.
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    39e1f81 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#109083 - rustbot:docs-update, r=ehuss

    Update books
    
    ## rust-lang/nomicon
    
    1 commits in 79b53665a7c61d171fb8c5ad0b73b371f9ee6ba7..1f3e4cd4fd88b5b5d45feb86a11b6d2f93e5a974
    2023-03-12 21:51:29 UTC to 2023-03-12 21:51:29 UTC
    
    - Change incorrect reference to "above" in ffi.md (rust-lang/nomicon#404)
    
    ## rust-lang/reference
    
    4 commits in a9afb04b47a84a6753e4dc657348c324c876102c..24c87f6663aed55b05d2cc286878f28f21918825
    2023-03-11 13:53:24 UTC to 2023-02-28 16:07:20 UTC
    
    - Document movbe target feature (rust-lang/reference#1336)
    - fix typo (rust-lang/reference#1339)
    - fix: Typo/reference (rust-lang/reference#1338)
    - Document `cmpxchg16b` target feature (rust-lang/reference#1331)
    
    ## rust-lang/rustc-dev-guide
    
    13 commits in b06dab84083390e0ee1e998f466545a8a1a76a9f..b1b6d693cd1461e53de4132c1b183ace31cd36e5
    2023-03-13 02:42:00 UTC to 2023-03-03 11:12:51 UTC
    
    - Rename `config.toml.example` to `config.example.toml` (rust-lang/rustc-dev-guide#1641)
    - fix typo `SubstRef` to `SubstsRef` (rust-lang/rustc-dev-guide#1642)
    - tracing log along diff crates (rust-lang/rustc-dev-guide#1640)
    - Fix Rust Analyzer settings location (rust-lang/rustc-dev-guide#1637)
    - Reflect the changes in rust-lang#67000 (rust-lang/rustc-dev-guide#1632)
    - improve capacity note (rust-lang/rustc-dev-guide#1634)
    - Remove mention to lexer/parser refactoring (rust-lang/rustc-dev-guide#1629)
    - Update date reference about infer context variables (rust-lang/rustc-dev-guide#1630)
    - Update explnation about `Body.basic_blocks` (rust-lang/rustc-dev-guide#1631)
    - Add detail to contributing guide (rust-lang/rustc-dev-guide#1628)
    - Making the sentence more clear (rust-lang/rustc-dev-guide#1624)
    - Fixed typing error (rust-lang/rustc-dev-guide#1623)
    - update error code docs to reflect recent changes (rust-lang/rustc-dev-guide#1625)
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f6f238f View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#109088 - Nilstrieb:target-feature-on-static…

    …s-when, r=compiler-errors
    
    Gracefully handle `#[target_feature]` on statics
    
    The was careful around not calling `fn_sig` on not-functions but well, it wasn't careful enough. This commit makes it a little more careful and also adds tests for a bunch more item kinds.
    
    I was sadly not able to fully bless the test locally because I'm on an aarch64 machine but I hope some manual editing made it work 😅
    
    Fix rust-lang#109079
    matthiaskrgr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    30cd4b3 View commit details
    Browse the repository at this point in the history