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 5 pull requests #72041

Merged
merged 19 commits into from
May 9, 2020
Merged

Rollup of 5 pull requests #72041

merged 19 commits into from
May 9, 2020

Commits on Apr 29, 2020

  1. Use .init_array rather than .ctors

    LLVM TargetMachines default to using the (now-legacy) .ctors
    representation of init functions. Mixing .ctors and .init_array
    representations can cause issues when linking with lld.
    
    This happens in practice for:
    
    * Our profiling runtime which is currently implicitly built with
      .init_array since it is built by clang, which sets this field.
    * External C/C++ code that may be linked into the same process.
    
    To support legacy systems which may use .ctors, targets may now specify
    that they use .ctors via the use_ctors attribute which defaults to
    false.
    
    For debugging and manual control, -Z use-ctors-section=yes/no will allow
    manual override.
    
    Fixes: rust-lang#71233
    maurer committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    0e7d5be View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Configuration menu
    Copy the full SHA
    e69748b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82cb88b View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. Skip tests on emscripten

    JohnTitor committed May 7, 2020
    Configuration menu
    Copy the full SHA
    9a164ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a24df5b View commit details
    Browse the repository at this point in the history
  3. Fix nit and cargo.lock

    jackh726 committed May 7, 2020
    Configuration menu
    Copy the full SHA
    5fa4c63 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. Configuration menu
    Copy the full SHA
    38ae8f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1037f40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4572d32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43fcd7d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d4e143e View commit details
    Browse the repository at this point in the history
  6. Fix clippy.

    cjgillot committed May 8, 2020
    Configuration menu
    Copy the full SHA
    7bf21d4 View commit details
    Browse the repository at this point in the history
  7. Fix tests

    cjgillot committed May 8, 2020
    Configuration menu
    Copy the full SHA
    32507d6 View commit details
    Browse the repository at this point in the history
  8. Document global_alloc

    oli-obk committed May 8, 2020
    Configuration menu
    Copy the full SHA
    b07a44d View commit details
    Browse the repository at this point in the history

Commits on May 9, 2020

  1. Rollup merge of rust-lang#69406 - jackh726:chalk-upgrade, r=nikomatsakis

    upgrade chalk and use chalk-solve/chalk-ir/chalk-rust-ir
    
    Reintegrate chalk into rustc.
    
    r? @nikomatsakis
    cc. @rust-lang/wg-traits
    RalfJung authored May 9, 2020
    Configuration menu
    Copy the full SHA
    2420b42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1704dca View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#71234 - maurer:init-array, r=cuviper

    rustllvm: Use .init_array rather than .ctors
    
    LLVM TargetMachines default to using the (now-legacy) .ctors
    representation of init functions. Mixing .ctors and .init_array
    representations can cause issues when linking with lld.
    
    This happens in practice for:
    
    * Our profiling runtime which is currently implicitly built with
      .init_array since it is built by clang, which sets this field.
    * External C/C++ code that may be linked into the same process.
    
    Fixes: rust-lang#71233
    RalfJung authored May 9, 2020
    Configuration menu
    Copy the full SHA
    ce05553 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#71508 - oli-obk:alloc_map_unlock, r=RalfJung

    Simplify the `tcx.alloc_map` API
    
    This PR changes all functions that require manually locking the `alloc_map` to functions on `TyCtxt` that lock the map internally. In the same step we make the `TyCtxt::alloc_map` field private.
    
    r? @RalfJung
    RalfJung authored May 9, 2020
    Configuration menu
    Copy the full SHA
    8c0310d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#71555 - cjgillot:nameless, r=matthewjasper

    Remove ast::{Ident, Name} reexports.
    
    The reexport of `Symbol` into `Name` confused me.
    RalfJung authored May 9, 2020
    Configuration menu
    Copy the full SHA
    366c178 View commit details
    Browse the repository at this point in the history