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 6 pull requests #128117

Closed
wants to merge 14 commits into from

Commits on Jul 23, 2024

  1. Docs for core::primitive: mention that "core" can be shadowed, too, s…

    …o we should write "::core"
    Askar Safin committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b2e5cce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c3ce60 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8474307 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b03cf89 View commit details
    Browse the repository at this point in the history
  5. Fix return type of FileAttr methods on AIX target

    At some point it seems `SystemTime::new` changed from returning `SystemTime` to `io::Result<SystemTime>`. This seems to have been addressed on other platforms, but was never changed for AIX.
    
    This was caught by running 
    ```
    python3 x.py build --host x86_64-unknown-linux-gnu --target powerpc64-ibm-aix
    ```
    hallfox committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    1f59a80 View commit details
    Browse the repository at this point in the history
  6. ensure std step before preparing sysroot

    When using download-rustc, any stage other than 0 or 1 (e.g., cargo +stage2 build/doc) will
    fail to find std while compiling on simple rust sources. Ensuring the rustc step fixes
    this issue.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2f55ced View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0728c15 View commit details
    Browse the repository at this point in the history
  8. library/core/src/primitive.rs: small doc fix

    Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
    safinaskar and workingjubilee committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b8f7ed2 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#124895 - obeis:static-mut-hidden-ref, r=mic…

    …haelwoerister
    
    Disallow hidden references to mutable static
    
    Closes rust-lang#123060
    
    Tracking:
    - rust-lang#123758
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6633ae2 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#128043 - safinaskar:primitive, r=workingjub…

    …ilee
    
    Docs for core::primitive: mention that "core" can be shadowed, too, so we should write "::core"
    
    `@rustbot` label +A-docs
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    67f98e3 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128092 - ChrisDenton:wrappers, r=workingjub…

    …ilee
    
    Remove wrapper functions from c.rs
    
    I'd like for the windows `c.rs` just to contain the basic platform definitions and not anything higher level unless absolutely necessary. So this removes some wrapper functions that weren't really necessary in any case. The functions are only used in a few places which themselves are relatively thin wrappers. The "interesting" bit is that we had an `AlertableIoFn` that abstracted over `ReadFileEx` and `WriteFileEx`. I've replaced this with a closure.
    
    Also I removed an `#[allow(unsafe_op_in_unsafe_fn)]` while I was moving things around.
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    74716a3 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#128100 - GuillaumeGomez:run-make-path, r=Ko…

    …bzol,jieyouxu
    
    Allow to pass a full path for `run-make` tests
    
    It's common (at least for me) to pass a full path to a `run-make` test (including the `rmake.rs` file) and to see that it isn't found, which is a bit frustrating.
    
    With these changes, we can now optionally pass the `rmake.rs` (or even `Makefile`) at the end of the path.
    
    cc ``@jieyouxu``
    r? ``@Kobzol``
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a4f94ca View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#128106 - hallfox:patch-1, r=ChrisDenton

    Fix return type of FileAttr methods on AIX target
    
    At some point it seems `SystemTime::new` changed from returning `SystemTime` to `io::Result<SystemTime>`. This seems to have been addressed on other platforms, but was never changed for AIX.
    
    This was caught by running
    ```
    python3 x.py build --host x86_64-unknown-linux-gnu --target powerpc64-ibm-aix
    ```
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    82d9204 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#128108 - onur-ozkan:ensure-std-for-precompi…

    …led-rustc, r=Kobzol
    
    ensure std step before preparing sysroot
    
    When using download-rustc, any stage other than 0 or 1 (e.g., cargo +stage2 build/doc) will fail to find std while compiling on simple rust sources. Ensuring the std step fixes this issue.
    
    r? Kobzol
    matthiaskrgr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b4a0ce6 View commit details
    Browse the repository at this point in the history