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

Merged
merged 27 commits into from
May 5, 2023
Merged

Rollup of 6 pull requests #111248

merged 27 commits into from
May 5, 2023

Commits on Oct 14, 2022

  1. Fix checked_{add,sub}_duration incorrectly returning None when `o…

    …ther` has more than `i64::MAX` seconds
    beetrees committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    5def753 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    8ff3903 View commit details
    Browse the repository at this point in the history
  2. update and add a few tests

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    76d1f93 View commit details
    Browse the repository at this point in the history
  3. fix TODO comments

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    a49570f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5e7206 View commit details
    Browse the repository at this point in the history
  5. refactor unescape

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    4c01d49 View commit details
    Browse the repository at this point in the history
  6. address comments

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    78e3455 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf3ca59 View commit details
    Browse the repository at this point in the history
  8. make it semantic error

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    abb181d View commit details
    Browse the repository at this point in the history
  9. fix tidy

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    6d905a8 View commit details
    Browse the repository at this point in the history
  10. make cook generic

    fee1-dead committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d30c668 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

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

Commits on May 5, 2023

  1. Configuration menu
    Copy the full SHA
    ea17aa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9aa596a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb74cd5 View commit details
    Browse the repository at this point in the history
  4. added SAFETY comment

    mj10021 committed May 5, 2023
    Configuration menu
    Copy the full SHA
    f239cd6 View commit details
    Browse the repository at this point in the history
  5. btree_map: Cursor{,Mut}::peek_prev must agree

    Our `Cursor::peek_prev` and `CursorMut::peek_prev` must agree
    on how to behave when they are called on the "null element".
    workingjubilee committed May 5, 2023
    Configuration menu
    Copy the full SHA
    00cb59b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ad6f4b7 View commit details
    Browse the repository at this point in the history
  7. Improve internal representation of check-cfg

    This is done to simplify to relationship between names() and values()
    but also make thing clearer (having an Any to represent that any values
    are allowed) but also to allow the (none) + values expected cases that
    wasn't possible before.
    Urgau committed May 5, 2023
    Configuration menu
    Copy the full SHA
    d327d5b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a5f8dba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5364784 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#103056 - beetrees:timespec-bug-fix, r=thomcc

    Fix `checked_{add,sub}_duration` incorrectly returning `None` when `other` has more than `i64::MAX` seconds
    
    Use `checked_{add,sub}_unsigned` in `checked_{add,sub}_duration` so that the correct result is returned when adding/subtracting durations with more than `i64::MAX` seconds.
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    3502e48 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108801 - fee1-dead-contrib:c-str, r=compile…

    …r-errors
    
    Implement RFC 3348, `c"foo"` literals
    
    RFC: rust-lang/rfcs#3348
    Tracking issue: rust-lang#105723
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    4891f02 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#110773 - mj10021:issue-109502-fix, r=oli-obk

    Reduce MIR dump file count for MIR-opt tests
    
    As referenced in issue rust-lang#109502 , mir-opt tests previously used the -Zdump-mir=all flag, which generates very large output.  This PR only dumps the passes under test, greatly reducing dump output.
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    de7e29e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#110876 - mj10021:issue-110647-fix, r=b-naber

    Added default target cpu to `--print target-cpus` output and updated docs
    
    Added default target cpu info as requested in issue rust-lang#110647 and noted the new output in the documentation
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    65702bf View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#111068 - Urgau:check-cfg-improvements, r=pe…

    …trochenkov
    
    Improve check-cfg implementation
    
    This PR makes multiple improvements into the implementation of check-cfg, it is a prerequisite to a follow-up PR that will introduce a simpler and more explicit syntax.
    
    The 2 main area of improvements are:
     1. Internal representation of expected values:
        - now uses `FxHashSet<Option<Symbol>>` instead of `FxHashSet<Symbol>`, it made the no value expected case only possible when no values where in the `HashSet` which is now represented as `None` (same as cfg represent-it).
        - a enum with `Some` and `Any` makes it now clear if some values are expected or not, necessary for `feature` and `target_feature`.
     2. Diagnostics: Improve the diagnostics in multiple case and fix case where a missing value could have had a new name suggestion instead of the value diagnostic; and some drive by improvements
    
    I highly recommend reviewing commit by commit.
    
    r? `@petrochenkov`
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    ded0a9e View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#111238 - workingjubilee:fix-btree-cursormut…

    …-peek-prev, r=Amanieu
    
    btree_map: `Cursor{,Mut}::peek_prev` must agree
    
    Our `Cursor::peek_prev` and `CursorMut::peek_prev` must agree on how to behave when they are called on the "null element". This will fix rust-lang#111228.
    
    r? `@Amanieu`
    Dylan-DPC authored May 5, 2023
    Configuration menu
    Copy the full SHA
    c99ab29 View commit details
    Browse the repository at this point in the history