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

Closed
wants to merge 19 commits into from

Commits on May 27, 2024

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

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    cdccf52 View commit details
    Browse the repository at this point in the history
  2. Clarify an x fmt error.

    nnethercote committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    3f892f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Raise DEFAULT_MIN_STACK_SIZE to at least 64KiB

    Prevent copy-paste errors from producing new starved-for-resources
    threaded platforms by raising `DEFAULT_MIN_STACK_SIZE` from 4096 bytes
    to at least 64KiB.
    
    Two platforms "affected" by this have no actual threads:
    - UEFI
    - "unsupported"
    
    Platforms that this actually affects:
    - wasm32-wasi with "atomics" enabled
    - wasm32-wasi-p1-threads
    
    Two exceptions:
    - SGX: a "secure code execution" platform, stays at 4096B
    - TEEOS: also a "secure code execution" platform, stays at 8192B
    
    I believe either of these may have sufficiently "interesting" semantics
    around threads, or significant external library support. Either would
    mean making any choices here for them is suspect.
    workingjubilee committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    8781074 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5772181 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ad5ebc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7ced1b View commit details
    Browse the repository at this point in the history
  5. Revert "Rollup merge of rust-lang#124976 - petrochenkov:usedcrates, r…

    …=oli-obk"
    
    This reverts commit eda4a35, reversing
    changes made to eb6b35b.
    lqd committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    0a4176a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ddf572 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dc91ad0 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#125606 - diondokter:opt-size-int-fmt, r=cuv…

    …iper
    
    Size optimize int formatting
    
    Let's use the new feature flag!
    
    This uses a simpler algorithm to format integers.
    It is slower, but also smaller.
    It also saves having to import the 200 byte rodata lookup table.
    
    In a test of mine this saves ~300 bytes total of a cortex-m binary that does integer formatting.
    For a 16KB device, that's almost 2%.
    
    Note though that for opt-level 3 the text size actually grows by 116 bytes.
    Still a win in total. I'm not sure why the generated code is bigger than the more fancy algo. Maybe the smaller algo lends itself more to inlining and duplicating?
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    b09f5a1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#126015 - GuillaumeGomez:migrate-run-make-sy…

    …mlinked-rlib, r=jieyouxu
    
    Migrate `run-make/symlinked-rlib` to `rmake.rs`
    
    Part of rust-lang#121876.
    
    r? ``@jieyouxu``
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    8ff5334 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#126034 - ChrisDenton:winsupport, r=ehuss

    Clarify our tier 1 Windows Server support
    
    I've been asked a number of times about our minimum Windows Server support so this PR updates the documentation to be more explicit.
    
    Note that this doesn't change our support at all, it just clarifies it. Windows Server 2016 is the first "Windows 10" server OS (specifically it has the same [build number](https://en.wikipedia.org/wiki/Windows_Server_2016#Release_to_manufacturing) as Windows 10 1607).
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    805d6a5 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#126035 - oli-obk:query_macro_errors, r=fmease

    Some minor query system cleanups
    
    * Improves diagnostics on conflicting query flags
    * removes unnecessary impls
    * `track_caller`
    
    pulled out of rust-lang#115613
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    b00aa85 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#126051 - nnethercote:clarify-x-fmt-error, r…

    …=Nilstrieb
    
    Clarify an `x fmt` error.
    
    For anyone who was using paths with `x fmt` previously, make the error message a bit clearer.
    
    r? ``@GuillaumeGomez``
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    8f55122 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#126059 - workingjubilee:stack-nothing-highe…

    …r, r=ChrisDenton
    
    Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB
    
    Prevent copy-paste errors from producing new starved-for-resources threaded platforms by raising `DEFAULT_MIN_STACK_SIZE` from 4096 bytes to at least 64KiB.
    
    Two platforms "affected" by this have no actual threads:
    - UEFI
    - "unsupported"
    
    Platforms that this actually affects:
    - wasm32-wasi with "atomics" enabled
    - wasm32-wasi-p1-threads
    
    Two exceptions:
    - SGX: a "secure code execution" platform, stays at 4096B
    - TEEOS: also a "secure code execution" platform, stays at 8192B
    
    I believe either of these may have sufficiently "interesting" semantics around threads, or significant external library support. Either would mean making any choices here for them is suspect.
    
    Fixes rust-lang#126027 which is a bug report about `DEFAULT_MIN_STACK_SIZE` being too low on wasi.
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    5ef362f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#126064 - GuillaumeGomez:migrate-run-make-ma…

    …nual-crate-name, r=jieyouxu
    
    Migrate `run-make/manual-crate-name` to `rmake.rs`
    
    Part of rust-lang#121876.
    
    r? `@jieyouxu`
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    4e79737 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#126068 - lqd:revert-124976, r=petrochenkov

    Revert "use `tcx.used_crates(())` more" before it reaches beta
    
    There are more open issues caused by rust-lang#124976 than will be fixed by rust-lang#125493 alone. The beta cut is soon, so let's revert it and buy some time to analyze and fix these issues in our own time.
    
    fixes rust-lang#125474
    fixes rust-lang#125484
    fixes rust-lang#125646
    fixes rust-lang#125707
    fixes rust-lang#126066
    fixes rust-lang#125934
    fixes rust-lang#126021
    
    r? ``@petrochenkov``
    ``@bors`` p=1
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    bb2d768 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#126073 - Zalathar:fulldeps-borrowck, r=jiey…

    …ouxu
    
    Port `tests/run-make-fulldeps/obtain-borrowck` to ui-fulldeps
    
    Thanks to `{{sysroot-base}}` from rust-lang#126008, this was also pretty straightforward to port over.
    GuillaumeGomez authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c824159 View commit details
    Browse the repository at this point in the history