1. 09 11月, 2016 1 次提交
  2. 08 11月, 2016 3 次提交
  3. 07 11月, 2016 10 次提交
    • B
      Auto merge of #37624 - xen0n:remove-bogus-mipsel-arches, r=alexcrichton · c9f16bbc
      bors 提交于
      Remove mention of mipsel target_arch
      
      This is the only remaining instance in rustc. All others were in the libc repo, removed with rust-lang/libc#445.
      
      Actually there's more to clean in `libsyntax/abi.rs`, but let's save that for another commit...
      c9f16bbc
    • B
      Auto merge of #37605 - dsprenkels:arc-max-refcount, r=alexcrichton · 045a727b
      bors 提交于
      Fix Arc::clone()'s MAX_REFCOUNT check (off-by-one)
      
      Before, the strong count of an `Arc` could be set to
      `MAX_REFCOUNT + 1`, because when this happened, `old_size` would
      be exactly `MAX_REFCOUNT`. `Arc::clone()` would not abort.
      
      This commit changes the check in `Arc::clone()` to also abort if
      the old value is equal to `MAX_REFCOUNT`, because then the new
      value will be equal to `MAX_REFCOUNT + 1`.
      
      A test would require allocating memory for `isize::MAX` pointers.
      This would probably crash any machine, so no test is submitted
      with this commit.
      045a727b
    • W
      rustbuild: support MIPS host builds · 0d433a8f
      Wang Xuerui 提交于
      There is a *little* code duplication, but primarily for sake of "match
      exhaustiveness". Let's blame Linux/MIPS for not exposing endianness
      explicitly in `uname -m` (that's user-space interface and as such is
      frozen).
      
      Currently the build won't work as we have to wait for a new stage0 for
      the MIPS host compilers, but this paves the way to self-hosted Rust on
      MIPS. The cross-compiled MIPS binaries are confirmed to work on the
      Loongson 3A2000 (MIPS64r2-compatible) so we have plenty of confidence
      that they'll work on other MIPS platforms too, as Linux/MIPS user-space
      ABI is consistent across machines of the same bitness.
      0d433a8f
    • W
      Remove mention of mipsel target_arch · a28c01bd
      Wang Xuerui 提交于
      The `mipsel` `target_arch` was introduced with the initial MIPSel
      support (rust-lang/rust@82ec1aef293ddc5c6373bd7f5ec323fafbdf7901),
      but was subsequently removed with implementation of the Flexible Target
      Specification (Rust RFC 0131,
      rust-lang/rust@3a8f4ec32a80d372db2d02c76acba0276c4effd0).
      This is the only remaining instance in rustc. All others are in the libc
      repo, and are fixed in rust-lang/libc@b3676593f6930c32d947c59e210789bbfcb30960.
      a28c01bd
    • B
      Auto merge of #37506 - jseyfried:improve_shadowing_checks, r=nrc · 09fc1af9
      bors 提交于
      macros: improve shadowing checks
      
      This PR improves macro-expanded shadowing checks to work with out-of-(pre)order expansion.
      
      Out-of-order expansion became possible in #37084, so this technically a [breaking-change] for nightly.
      The regression test from this PR is an example of code that would break.
      
      r? @nrc
      09fc1af9
    • B
      Auto merge of #37619 - TimNN:aarch64-fuchsia-abi-blacklist, r=alexcrichton · 8e2b57d3
      bors 提交于
      use arm abi blacklist for aarch64 fuchsia
      
      r? @alexcrichton
      8e2b57d3
    • B
      Auto merge of #37617 - pweyck:force-static-llvm-linking, r=alexcrichton · 47420087
      bors 提交于
      Force static linking of LLVM
      
      Run `llvm-config` with `--link-static` if available, to force static linking of LLVM.
      This option was added in LLVM 3.8.
      
      This is my first pull request, any feedback is welcome!
      
      Fixes #36854
      See also: #36996
      47420087
    • T
      use arm abi blacklist for aarch64 fuchsia · 9bae0033
      Tim Neumann 提交于
      9bae0033
    • D
      Add a comment to `Arc::MAX_REFCOUNT` · 99aaccd3
      Daan Sprenkels 提交于
      The constant name `MAX_REFCOUNT` suggests that the value is a
      _hard_ limit on the amount of references to an `Arc`. This is
      a more soft limit however. This commit adds a comment to the
      constant to annotate this.
      
      See also: PR #37605
      99aaccd3
    • B
      Auto merge of #37616 - jneem:master, r=alexcrichton · 2a44315f
      bors 提交于
      Add test for issue 18060.
      
      Closes #18060
      2a44315f
  4. 06 11月, 2016 26 次提交