1. 09 3月, 2014 1 次提交
  2. 08 3月, 2014 5 次提交
  3. 07 3月, 2014 19 次提交
  4. 06 3月, 2014 15 次提交
    • K
      rustc: Get LLVM error message safely · f6afd40f
      klutzy 提交于
      On Windows, `LLVMRustGetLastError()` may return non-utf8 mojibake string
      if system uses non-English locale. It caused ICE when llvm fails.
      This patch doesn't fix the real problem, but just make rustc not die.
      f6afd40f
    • B
      auto merge of #12727 : lifthrasiir/rust/buffalo-buffalo, r=huonw · fb80b384
      bors 提交于
      Cosmetic changes at best, but there are so many such typos that I couldn't ignore them. :) Some occurrences of typos are linked to the generated documentations but no changes should break the builds.
      fb80b384
    • B
      auto merge of #12726 : alexcrichton/rust/travis, r=brson · 0a7b06e9
      bors 提交于
      This version is slightly more up to date and is closer to the 3.5 that we're
      using. This also updates the travis config to have a build matrix which tests
      rust against LLVM 3.3 and 3.4. For pull requests only LLVM 3.4 is tested to
      reduce the load on travis.
      
      This is mostly just fluff, there's no real reason to gate rust on these results,
      it's more of just a nice thing to know when we break compatibility with LLVM 3.3
      and 3.4 (and eventually 3.5). This turns off notifications of failed commits
      (which are sent out for pushes to master).
      0a7b06e9
    • K
      1c52c818
    • B
      auto merge of #12719 : alexcrichton/rust/fix-llvm-33, r=brson · 68903f2c
      bors 提交于
      The llvm.copysign and llvm.round intrinsics weren't added until LLVM 3.4, so if
      we're on LLVM 3.3 we lower these to calls in libm instead of LLVM intrinsics.
      
      This should fix our travis failures.
      68903f2c
    • B
      auto merge of #12714 : michaelwoerister/rust/limited-debuginfo, r=alexcrichton · 14c62071
      bors 提交于
      This PR brings back limited debuginfo which allows for nice backtraces and breakpoints, but omits any info about variables and types.
      
      The `-g` and `--debuginfo` command line options have been extended to take an optional argument:
      `-g0` means no debug info.
      `-g1` means line-tables only.
      `-g2` means full debug info.
      
      Specifying `-g` without argument is equivalent to `-g2`.
      
      Fixes #12280
      14c62071
    • B
      auto merge of #12705 : alexcrichton/rust/issue-12692, r=brson · 2fba2fea
      bors 提交于
      Details are in the commit messages, but this closes a few issues seen with `libnative` recently.
      2fba2fea
    • A
      travis: Use LLVM 3.4 instead of LLVM 3.3 · 37b3a60b
      Alex Crichton 提交于
      This version is slightly more up to date and is closer to the 3.5 that we're
      using. This also updates the travis config to have a build matrix which tests
      rust against LLVM 3.3 and 3.4. For pull requests only LLVM 3.4 is tested to
      reduce the load on travis.
      
      This is mostly just fluff, there's no real reason to gate rust on these results,
      it's more of just a nice thing to know when we break compatibility with LLVM 3.3
      and 3.4 (and eventually 3.5). This turns off notifications of failed commits
      (which are sent out for pushes to master).
      37b3a60b
    • B
      auto merge of #12687 : alexcrichton/rust/issue-12681, r=huonw · 2153293a
      bors 提交于
      This commit adds a appear-on-over link to all section headers to generated
      documentation. Each header also receives an id now, even those generated through
      markdown. The purpose of this is to provide easy to link to sections.
      
      This modifies the default header markdown generation because the default id
      added looks like "toc_NN" which is difficult to reconcile among all sections (by
      default each section gets a "toc_0" id), and it's also not very descriptive of
      where you're going.
      
      This chooses to adopt the github-style anchors by taking the contents of the
      title and hyphen-separating them (after lower casing).
      
      Closes #12681
      2153293a
    • M
      debuginfo: Add test case for limited debuginfo · a5b4d94e
      Michael Woerister 提交于
      a5b4d94e
    • M
      e15fd400
    • M
    • A
      rustdoc: Add anchors to section headers · 31e7e676
      Alex Crichton 提交于
      This commit adds a appear-on-over link to all section headers to generated
      documentation. Each header also receives an id now, even those generated through
      markdown. The purpose of this is to provide easy to link to sections.
      
      This modifies the default header markdown generation because the default id
      added looks like "toc_NN" which is difficult to reconcile among all sections (by
      default each section gets a "toc_0" id), and it's also not very descriptive of
      where you're going.
      
      This chooses to adopt the github-style anchors by taking the contents of the
      title and hyphen-separating them (after lower casing).
      
      Closes #12681
      31e7e676
    • B
      auto merge of #12703 : jld/rust/issue-8506, r=alexcrichton · 253dbcb8
      bors 提交于
      Closes #8506.
      253dbcb8
    • A
      std: Move libnative task count bookkeeping to std · 9668ab58
      Alex Crichton 提交于
      When using tasks in Rust, the expectation is that the runtime does not exit
      before all tasks have exited. This is enforced in libgreen through the
      `SchedPool` type, and it is enforced in libnative through a `bookkeeping` module
      and a global count/mutex pair. Unfortunately, this means that a process which
      originates with libgreen will not wait for spawned native tasks.
      
      In order to fix this problem, the bookkeeping module was moved from libnative to
      libstd so the runtime itself can wait for native tasks to exit. Green tasks do
      not manage themselves through this bookkeeping module, but native tasks will
      continue to manage themselves through this module.
      
      Closes #12684
      9668ab58