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 8 pull requests #120448

Closed
wants to merge 25 commits into from

Commits on Oct 12, 2023

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

Commits on Oct 13, 2023

  1. Update primitive_docs.rs

    joshlf committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    4f0192a View commit details
    Browse the repository at this point in the history
  2. Update library/core/src/primitive_docs.rs

    Co-authored-by: Ralf Jung <post@ralfj.de>
    joshlf and RalfJung committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    39660c4 View commit details
    Browse the repository at this point in the history
  3. Update primitive_docs.rs

    joshlf committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    55487e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Update primitive_docs.rs

    joshlf committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    1a0309a View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Add support for custom JSON targets when using build-std.

    Currently, when building with `build-std`, some library build scripts
    check properties of the target by inspecting the target triple at
    `env::TARGET`, which is simply set to the filename of the JSON file
    when using JSON target files.
    
    This patch alters these build scripts to use `env::CARGO_CFG_*` to
    fetch target information instead, allowing JSON target files
    describing platforms without `restricted_std` to build correctly when
    using `-Z build-std`.
    
    Fixes wg-cargo-std-aware/rust-lang#60.
    c272 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    797cf59 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Update primitive_docs.rs

    joshlf committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    c2c6e33 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    40f5e68 View commit details
    Browse the repository at this point in the history
  2. Skip building cranelift for Fuchsia

    This refactors run.sh to never override an explicit $CODEGEN_BACKENDS if
    set in the build.
    tmandry committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    53bf511 View commit details
    Browse the repository at this point in the history
  3. Bump Fuchsia (includes building tests)

    This includes a change to the upstream build_fuchsia_from_rust_ci script
    that builds a minimal set of tests, to improve coverage on this builder.
    tmandry committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    afd5edc View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Update primitive_docs.rs

    joshlf committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    b867c7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2251e9a View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Revert "Add the wasm32-wasi-preview2 target"

    This reverts commit 31ecf34.
    
    Co-authored-by: Ryan Levick <me@ryanlevick.com>
    fmease and rylev committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    9199742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75f889b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06ea8cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a11936 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dad6802 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#116677 - joshlf:patch-11, r=RalfJung

    References refer to allocated objects
    
    Partially addresses rust-lang/unsafe-code-guidelines#465
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8a346d0 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#118533 - chenyukang:yukang-fix-118455, r=pe…

    …trochenkov
    
    Suppress unhelpful diagnostics for unresolved top level attributes
    
    Fixes rust-lang#118455, unresolved top level attribute error didn't imported prelude and already have emitted an error, report builtin macro and attributes error by the way, so `check_invalid_crate_level_attr` in can ignore them.
    
    Also fixes rust-lang#89566, fixes rust-lang#67107.
    
    r? ```@petrochenkov```
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    4b165ee View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#119991 - kornelski:endless-read, r=the8472

    Reject infinitely-sized reads from io::Repeat
    
    These calls would always run out of memory.
    
    Related to rust-lang#117925
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    2dd3020 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#120232 - c272:json-buildstd, r=Mark-Simulacrum

    Add support for custom JSON targets when using build-std.
    
    Currently, when building with `build-std`, some library build scripts check properties of the target by inspecting the target triple at `env::TARGET`, which is simply set to the filename of the JSON file when using JSON target files.
    
    This patch alters these build scripts to use `env::CARGO_CFG_*` to fetch target information instead, allowing JSON target files describing platforms without `restricted_std` to build correctly when using `-Z build-std`. There are some weak assertions here (for example, `nintendo && newlib`), however this seems at least a marginal improvement on the existing solution.
    
    Fixes rust-lang/wg-cargo-std-aware#60.
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    31eddb2 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#120358 - tmandry:bump-fuchsia-8c-tests, r=M…

    …ark-Simulacrum
    
    Bump Fuchsia, build tests, and use 8 core bots
    
    - Build Fuchsia on 8 cores instead of 16
    - Skip building cranelift for Fuchsia
    - Bump Fuchsia (includes building tests)
    
    This includes a change to the upstream build_fuchsia_from_rust_ci script that builds a minimal set of tests, to improve coverage on this builder. This would have caught rust-lang/rust-clippy#11952 and rust-lang#119593.
    
    See prior discussion on rust-lang#119400 about building on 8 cores instead of 16. This PR combines changes from that and rust-lang#119399, plus clean up.
    
    r? `````@Mark-Simulacrum`````
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    b5b89f6 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#120424 - RalfJung:raw-ptr-meta, r=Nilstrieb

    raw pointer metadata API: data address -> data pointer
    
    A pointer consists of [more than just an address](rust-lang/rfcs#3559), so let's not equate "pointer" and "address" in these docs.
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    f3576d8 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#120434 - fmease:revert-speeder, r=petrochenkov

    Revert outdated version of "Add the wasm32-wasi-preview2 target"
    
    An outdated version of rust-lang#119616 was merged in rollup rust-lang#120309.
    This reverts those changes to enable rust-lang#119616 to “retain the intended diff” after a rebase.
    `@rylev` has agreed that this would be the cleanest approach with respect to the history.
    Unblocks rust-lang#119616.
    
    r? `@petrochenkov` or compiler or libs
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    bc66f44 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#120443 - GuillaumeGomez:footnote-def-improv…

    …ement, r=fmease
    
    Fixes footnote handling in rustdoc
    
    Fixes rust-lang#100638.
    
    You can now declare footnotes like this:
    
    ```rust
    //! Reference to footnotes A[^1], B[^2] and C[^3].
    //!
    //! [^1]: Footnote A.
    //! [^2]: Footnote B.
    //! [^3]: Footnote C.
    ```
    
    r? `@notriddle`
    matthiaskrgr committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    1ff326d View commit details
    Browse the repository at this point in the history