1. 28 8月, 2018 7 次提交
  2. 27 8月, 2018 9 次提交
    • B
      Auto merge of #53656 - nnethercote:HybridIdxSet-tweaks, r=nikomatsakis · b638d8c7
      bors 提交于
      `HybridIdxSet` tweaks
      
      A couple of tweaks to `HybridIdxSet`.
      
      r? @nikomatsakis
      b638d8c7
    • B
      Auto merge of #53624 - Zoxc:ice-fix, r=oli-obk · 291d9585
      bors 提交于
      Move with_globals setup from run_compiler to run
      
      An alternative to https://github.com/rust-lang/rust/pull/53526
      
      Note this breaks some miri stuff and clippy since they call `run_compiler` directly, and they now need to also call `with_globals ` cc @rust-lang/dev-tools
      
      r? @oli-obk
      291d9585
    • B
      Auto merge of #53648 - japaric:thumb-lld, r=alexcrichton · 7625c031
      bors 提交于
      change the default linker of the ARM Cortex-M targets
      
      to rust-lld so users won't need an external linker to build programs
      
      This will break nightly builds.
      
      We discussed this within the embedded WG and with the embedded community in
      rust-embedded/wg#160 and there was consensus in that this breaking change is
      worthwhile and that we should do it now before it becomes impossible to do
      without breaking stable builds.
      
      We have already written an announcement (see rust-embedded/wg#196) that explains
      the breakage and instructs the users how to fix their builds. The TL;DR is that
      they can switch to the old behavior by passing the `-C linker` flag to rustc.
      We'll post the announcement as soon as this change makes into nightly.
      
      closes rust-embedded/wg#160
      
      r? @alexcrichton
      7625c031
    • J
      Update clippy · 09726585
      John Kåre Alsaker 提交于
      09726585
    • B
      Auto merge of #53640 - alexcrichton:more-symbol-tweaks, r=michaelwoerister · 3a2c603e
      bors 提交于
      rustc: Continue to tweak "std internal symbols"
      
      In investigating [an issue][1] with `panic_implementation` defined in an
      executable that's optimized I once again got to rethinking a bit about the
      `rustc_std_internal_symbol` attribute as well as weak lang items. We've sort of
      been non-stop tweaking these items ever since their inception, and this
      continues to the trend.
      
      The crux of the bug was that in the reachability we have a [different branch][2]
      for non-library builds which meant that weak lang items (and std internal
      symbols) weren't considered reachable, causing them to get eliminiated by
      ThinLTO passes. The fix was to basically tweak that branch to consider these
      symbols to ensure that they're propagated all the way to the linker.
      
      Along the way I've attempted to erode the distinction between std internal
      symbols and weak lang items by having weak lang items automatically configure
      fields of `CodegenFnAttrs`. That way most code no longer even considers weak
      lang items and they're simply considered normal functions with attributes about
      the ABI.
      
      In the end this fixes the final comment of #51342
      
      [1]: https://github.com/rust-lang/rust/issues/51342#issuecomment-414368019
      [2]: https://github.com/rust-lang/rust/blob/35bf1ae25799a4e62131159f052e0a3cbd27c960/src/librustc/middle/reachable.rs#L225-L238
      3a2c603e
    • J
      bd04796d
    • A
      rustc: Continue to tweak "std internal symbols" · 0a2282e1
      Alex Crichton 提交于
      In investigating [an issue][1] with `panic_implementation` defined in an
      executable that's optimized I once again got to rethinking a bit about the
      `rustc_std_internal_symbol` attribute as well as weak lang items. We've sort of
      been non-stop tweaking these items ever since their inception, and this
      continues to the trend.
      
      The crux of the bug was that in the reachability we have a [different branch][2]
      for non-library builds which meant that weak lang items (and std internal
      symbols) weren't considered reachable, causing them to get eliminiated by
      ThinLTO passes. The fix was to basically tweak that branch to consider these
      symbols to ensure that they're propagated all the way to the linker.
      
      Along the way I've attempted to erode the distinction between std internal
      symbols and weak lang items by having weak lang items automatically configure
      fields of `CodegenFnAttrs`. That way most code no longer even considers weak
      lang items and they're simply considered normal functions with attributes about
      the ABI.
      
      In the end this fixes the final comment of #51342
      
      [1]: https://github.com/rust-lang/rust/issues/51342#issuecomment-414368019
      [2]: https://github.com/rust-lang/rust/blob/35bf1ae25799a4e62131159f052e0a3cbd27c960/src/librustc/middle/reachable.rs#L225-L238
      0a2282e1
    • B
      Auto merge of #53715 - pietroalbini:missing-components-manifest, r=alexcrichton · 51777b18
      bors 提交于
      Include missing tools in the manifest and mark them as unavailable
      
      This PR changes the `build-manifest` tool to always include the missing components in the manifest, marking them as `available = false`. This blocks rustup from updating to a different nightly if the component is installed.
      
      The code builds and _should_ be correct, but I don't know a way to test the changes locally.
      
      r? @alexcrichton
      cc @kennytm https://github.com/rust-lang-nursery/rustup.rs/issues/1486
      51777b18
    • B
      Auto merge of #53717 - GuillaumeGomez:rollup, r=GuillaumeGomez · 72191306
      bors 提交于
      Rollup of 5 pull requests
      
      Successful merges:
      
       - #53043 (Improve unstable message display)
       - #53428 (libtest terse format: show how far in we are)
       - #53626 (Automatically expand a section even after page load)
       - #53651 (Add struct keyword doc)
       - #53706 (rustdoc: Fix gap on section anchor symbol when hovering.)
      
      Failed merges:
      
       - #53472 (Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.)
      
      r? @ghost
      72191306
  3. 26 8月, 2018 16 次提交
  4. 25 8月, 2018 8 次提交