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 #116260

Merged
merged 34 commits into from
Sep 29, 2023
Merged

Rollup of 7 pull requests #116260

merged 34 commits into from
Sep 29, 2023

Commits on Sep 22, 2023

  1. Bump ui test crate

    oli-obk committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    32c2ed7 View commit details
    Browse the repository at this point in the history
  2. Move fail tests that need dependencies into their own folder, so th…

    …at wasm tests don't build dependencies
    oli-obk committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    c69e0c2 View commit details
    Browse the repository at this point in the history
  3. Bump ui_test crate

    oli-obk committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    0d5f51c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e706367 View commit details
    Browse the repository at this point in the history
  5. Bump ui_test crate

    oli-obk committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    9f4e7c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

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

Commits on Sep 25, 2023

  1. ref(bootstrap.py): add eprint function

    just like `print` but for `stderr`
    pouriya committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    598f11a View commit details
    Browse the repository at this point in the history
  2. Document new env var

    oli-obk committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    1ec85a8 View commit details
    Browse the repository at this point in the history
  3. Explain single element vector

    oli-obk committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    71aea48 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#3008 - oli-obk:ui_test_progress_bars, r=RalfJung

    bump ui test crate
    
    The recommended way to run tests locally is `./miri bless -- -- --quiet`, which will show
    
    * progress bars
    * the currently running tests (allowing you to see which ones are still running towards the end of the test suite)
    * the output of the currently running tests (if they are slow). This means slow running tests can output lines to `stderr` and the last line will be shown after the test name and updated every few hundred milliseconds.
    
    As a side effect this PR also fixes rust-lang#2998 and only builds dependencies if any tests actually need them (this means that with the next ui_test update we'll be able to merge all our test suites).
    
    Also fixes rust-lang/miri#3052.
    bors committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    b4dc4f3 View commit details
    Browse the repository at this point in the history
  5. fix normalization in backtrace-api tests

    also remove a normalization rule that doesn't seem to apply
    RalfJung committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    ee30aaf View commit details
    Browse the repository at this point in the history
  6. Auto merge of rust-lang#3083 - saethlin:gc-history, r=oli-obk

    GC the Stacked Borrows allocation history
    
    This handles the biggest contributor to rust-lang/miri#3080
    
    The benchmark that this adds demonstrates the memory improvement here, but our benchmark setup doesn't record memory usage, and `hyperfine` doesn't support emitting memory usage stats. I ran this benchmark manually with `/usr/bin/time -v cargo +miri miri run` 🤷
    bors committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    32c0afb View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#3085 - RalfJung:test-norm, r=RalfJung

    fix normalization in backtrace-api tests
    
    also remove a normalization rule that doesn't seem to apply
    bors committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e86c68a View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Preparing for merge from rustc

    The Miri Conjob Bot committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    fc0d833 View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Conjob Bot committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b1f5c66 View commit details
    Browse the repository at this point in the history
  3. clippy

    RalfJung committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    c8a44b1 View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#3087 - rust-lang:rustup-2023-09-27, r=RalfJung

    Automatic sync from rustc
    bors committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    1a3dd7e View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Preparing for merge from rustc

    The Miri Conjob Bot committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    3b091cb View commit details
    Browse the repository at this point in the history
  2. Merge from rustc

    The Miri Conjob Bot committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    f2623ac View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#3089 - rust-lang:rustup-2023-09-28, r=RalfJung

    Automatic sync from rustc
    bors committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    024279a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    66bc682 View commit details
    Browse the repository at this point in the history
  5. update lockfile

    RalfJung committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    e0f4ab8 View commit details
    Browse the repository at this point in the history
  6. Add test for 116212.

    cjgillot committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    255ca18 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3816c15 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    07f81cd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f1b7484 View commit details
    Browse the repository at this point in the history
  10. make adt_const_params feature suggestion more consistent with others …

    …and only suggest it when the type can probably work
    asquared31415 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b53a1b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Rollup merge of rust-lang#116133 - pouriya:refactor-bootstrap.py, r=a…

    …lbertlarsan68
    
    ref(bootstrap.py): add `eprint` function
    
    Implemented a 3-line function called `eprint` which is just like `print` but for `stderr`. So each `print(..., file=sys.stderr)` becomes `eprint(...)`.
    
    <br/>
    
    Testing `eprint` function:
    ```sh
    $ cat eprint.py
    ```
    ```python
    import sys
    
    def eprint(*args, **kwargs):
    	kwargs['file'] = sys.stderr
    	print(*args, **kwargs)
    
    eval('eprint({})'.format(sys.argv[1]))
    ```
    ```sh
    $ python3 eprint.py '"hello"'
    hello
    $
    ```
    ```sh
    $ python3 eprint.py '"hello"' 2>/dev/null
    $
    ```
    ```sh
    $ python3 eprint.py '"hello", "world", flush=True, file=sys.stdout'
    hello world
    $
    ```
    ```sh
    $ python3 eprint.py '"hello", "world", flush=True, file=sys.stdout' 2>/dev/null
    $
    ```
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    f777e8c View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#116201 - Jarcho:noop_fix, r=fee1-dead

    Fix `noop_method_call` detection
    
    This needs to be merged before rust-lang#116198 can compile. The error occurs before the compiler is built so this needs to be a separate PR.
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e814f1e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#116231 - DaniPopes:simpler-lint-array, r=Ni…

    …lstrieb
    
    Remove `rustc_lint_defs::lint_array`
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    0c45018 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#116234 - RalfJung:miri, r=RalfJung

    Miri subtree update
    
    r? `@ghost`
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1ed00fe View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#116239 - cjgillot:issue-116212, r=WaffleLapkin

    Only visit reachable nodes in SsaLocals.
    
    Fixes rust-lang#116212
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4f09f80 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#116245 - flip1995:clippy-backport, r=Manish…

    …earth
    
    Clippy backport: Move needless_raw_string_hashes to pedantic
    
    Really small backport this time. Context: rust-lang/rust-clippy#11415 (comment)
    
    I'd rather get this in 1.74 than waiting another release cycle.
    
    r? `@Manishearth`
    
    cc `@Mark-Simulacrum` This should be merged before beta is branched tomorrow.
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    92234f9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116253 - asquared31415:adt_const_params_fea…

    …ture, r=compiler-errors
    
    Make `adt_const_params` feature suggestion consistent with other features and improve when it is emitted
    
    Makes the suggestion to add `adt_const_params` formatted like every other feature gate (notably this makes it such that the playground recognizes it). Additionally improves the situations in which that help is emitted so that it's only emitted when the type would be valid or the type *could* be valid (using a slightly incorrect heuristic that favors suggesting the feature over not) instead of, for example, implying that adding the feature would allow the use of `String`.
    
    Also adds the "the only supported types are integers, `bool` and `char`" note to the errors on fn and raw pointers.
    
    r? `@compiler-errors`
    matthiaskrgr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    95262e4 View commit details
    Browse the repository at this point in the history