1. 12 11月, 2018 1 次提交
    • A
      rustc: Clean up allocator injection logic · d3939322
      Alex Crichton 提交于
      This commit cleans up allocator injection logic found in the compiler
      around selecting the global allocator. It turns out that now that
      jemalloc is gone the compiler never actually injects anything! This
      means that basically everything around loading crates here and there can
      be easily pruned.
      
      This also removes the `exe_allocation_crate` option from custom target
      specs as it's no longer used by the compiler anywhere.
      d3939322
  2. 11 11月, 2018 11 次提交
  3. 10 11月, 2018 7 次提交
  4. 09 11月, 2018 17 次提交
  5. 08 11月, 2018 4 次提交
    • A
      rustc: Request ansi colors if stderr isn't a tty · 255cc1ae
      Alex Crichton 提交于
      Currently Cargo will always capture the output of rustc meaning that
      rustc is never hooked up to a tty. To retain colors Cargo uses the
      `fwdansi` crate to ensure that ansi color codes are translated to
      windows terminal methods (and ansi codes otherwise just go their natural
      route on Unix).
      
      Cargo passes `--color always` to rustc to ensure that using a pipe
      doesn't trick it into not emitting colors at all. It turns out, however,
      that `--color always` ends up still accidentally using the native shell
      api on native windows shells.
      
      The fix here is to instead pass `AlwaysAnsi` to `termcolor` instead of
      `Always`, ensuring that when `--color always` is passed to rustc and its
      output isn't a terminal, we're always generating ansi colors regardless
      of the platform.
      
      Closes #55769
      255cc1ae
    • N
      Update the disabled wasm32 Dockerfile · ffdb2bc1
      Nikita Popov 提交于
      ffdb2bc1
    • N
      Disable wasm32 features on emscripten · 8407612a
      Nikita Popov 提交于
      These are only supported by the native wasm32 backend.
      8407612a
    • O
      Rebase fallout · 428af73e
      Oliver Scherer 提交于
      428af73e