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

Closed
wants to merge 24 commits into from
Closed

Commits on Oct 4, 2019

  1. Configuration menu
    Copy the full SHA
    e85089b View commit details
    Browse the repository at this point in the history
  2. Disable stack probe when thread sanitizer is enabled

    When thread sanitizer instrumentation is enabled during compilation of
    stack probe function, the function will be miscompiled and trigger
    segmentation fault at runtime. Disable stack probes when tsan is
    enabled.
    tmiasko committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    6c9f218 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fda0359 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dbdfa6e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce57648 View commit details
    Browse the repository at this point in the history
  6. Add integration test

    Rantanen committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    e492ca8 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2019

  1. Correctly estimate required space for string

    `.len()` returns length in bytes so it overestimates the required space
    AnthonyMikh authored Oct 5, 2019
    Configuration menu
    Copy the full SHA
    4414068 View commit details
    Browse the repository at this point in the history
  2. Fix format

    Rantanen committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    b27089d View commit details
    Browse the repository at this point in the history
  3. Remove useless cast

    Rantanen committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    dfc008f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5497ba1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3166ce8 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2019

  1. Configuration menu
    Copy the full SHA
    bbf262d View commit details
    Browse the repository at this point in the history
  2. Remove loaded_from_cache map from DepGraph

    It's now unused, even with -Zquery-dep-graph
    Mark-Simulacrum committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    4c32d47 View commit details
    Browse the repository at this point in the history
  3. Remove force!.

    nnethercote committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    90c456e View commit details
    Browse the repository at this point in the history
  4. Remove krate!.

    nnethercote committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    8f707c3 View commit details
    Browse the repository at this point in the history
  5. Remove def_id!.

    nnethercote committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    1183d60 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Remove force_ex!.

    nnethercote committed Oct 7, 2019
    Configuration menu
    Copy the full SHA
    9267d9f View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2019

  1. Rollup merge of rust-lang#65074 - Rantanen:json-byte-pos, r=matklad

    Fix the start/end byte positions in the compiler JSON output
    
    Track the changes made during normalization in the `SourceFile` and use this information to correct the `start_byte` and `end_byte` fields in the JSON output.
    
    This should ensure the start/end byte fields can be used to index the original file, even if Rust normalized the source code for parsing purposes. Both CRLF to LF and BOM removal are handled with this one.
    
    The rough plan was discussed with @matklad in rust-lang/rustfix#176 - although I ended up going with `u32` offset tracking so I wouldn't need to deal with `u32 + i32` arithmetics when applying the offset to the span byte positions.
    
    Fixes rust-lang#65029
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    9568911 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a56cb76 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#65102 - tmiasko:tsan-probe-stack, r=alexcri…

    …chton
    
    Disable stack probe when thread sanitizer is enabled
    
    When thread sanitizer instrumentation is enabled during compilation of
    stack probe function, the function will be miscompiled and trigger
    segmentation fault at runtime. Disable stack probes when tsan is
    enabled.
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    53af7b3 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#65120 - AnthonyMikh:fix_65119, r=estebank

    Correctly estimate the required space for string in `StyledBuffer::prepend`
    
    Fix rust-lang#65119
    
    r? @estebank
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    4999b29 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#65145 - estebank:turbofish-assoc-fn-call, r…

    …=varkor
    
    When suggesting assoc function with type params, include turbofish
    
    Fix rust-lang#61412, fix rust-lang#61411.
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    6f88087 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#65162 - Mark-Simulacrum:no-cache-loading-ma…

    …p, r=michaelwoerister
    
    Remove loaded_from_cache map from DepGraph
    
    It's now unused, even with -Zquery-dep-graph
    
    From https://github.com/rust-lang/rust/pull/63756/files#r316039379 -- it'll simplify that PR to get this landed separately so we can just remove some of the code that it touches.
    
    r? @Zoxc or @michaelwoerister
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    dba40d8 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#65176 - nnethercote:rm-query-macros, r=mich…

    …aelwoerister
    
    Remove query-related macros
    
    The query system has a few macros that only have one or two call sites, and I find they hurt readability. This PR removes them.
    
    r? @michaelwoerister
    Centril authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    8c2e726 View commit details
    Browse the repository at this point in the history