1. 08 1月, 2015 1 次提交
  2. 06 1月, 2015 2 次提交
  3. 29 12月, 2014 1 次提交
  4. 22 12月, 2014 1 次提交
  5. 16 12月, 2014 1 次提交
  6. 14 12月, 2014 1 次提交
  7. 07 10月, 2014 1 次提交
  8. 03 10月, 2014 1 次提交
  9. 02 10月, 2014 1 次提交
  10. 19 8月, 2014 1 次提交
  11. 14 8月, 2014 1 次提交
    • B
      core: Add binary_search and binary_search_elem methods to slices. · a4b354ca
      Brian Anderson 提交于
      These are like the existing bsearch methods but if the search fails,
      it returns the next insertion point.
      
      The new `binary_search` returns a `BinarySearchResult` that is either
      `Found` or `NotFound`. For convenience, the `found` and `not_found`
      methods convert to `Option`, ala `Result`.
      
      Deprecate bsearch and bsearch_elem.
      a4b354ca
  12. 05 8月, 2014 1 次提交
    • A
      stabilize atomics (now atomic) · 68bde0a0
      Aaron Turon 提交于
      This commit stabilizes the `std::sync::atomics` module, renaming it to
      `std::sync::atomic` to match library precedent elsewhere, and tightening
      up behavior around incorrect memory ordering annotations.
      
      The vast majority of the module is now `stable`. However, the
      `AtomicOption` type has been deprecated, since it is essentially unused
      and is not truly a primitive atomic type. It will eventually be replaced
      by a higher-level abstraction like MVars.
      
      Due to deprecations, this is a:
      
      [breaking-change]
      68bde0a0
  13. 30 6月, 2014 1 次提交
    • S
      Extract tests from libcore to a separate crate · 1ed646ea
      Steven Fackler 提交于
      Libcore's test infrastructure is complicated by the fact that many lang
      items are defined in the crate. The current approach (realcore/realstd
      imports) is hacky and hard to work with (tests inside of core::cmp
      haven't been run for months!).
      
      Moving tests to a separate crate does mean that they can only test the
      public API of libcore, but I don't feel that that is too much of an
      issue. The only tests that I had to get rid of were some checking the
      various numeric formatters, but those are also exercised through normal
      format! calls in other tests.
      1ed646ea
  14. 05 4月, 2014 1 次提交
  15. 08 2月, 2014 1 次提交
  16. 05 1月, 2014 1 次提交
  17. 12 11月, 2013 1 次提交
    • A
      Remove #[fixed_stack_segment] and #[rust_stack] · 7755ffd0
      Alex Crichton 提交于
      These two attributes are no longer useful now that Rust has decided to leave
      segmented stacks behind. It is assumed that the rust task's stack is always
      large enough to make an FFI call (due to the stack being very large).
      
      There's always the case of stack overflow, however, to consider. This does not
      change the behavior of stack overflow in Rust. This is still normally triggered
      by the __morestack function and aborts the whole process.
      
      C stack overflow will continue to corrupt the stack, however (as it did before
      this commit as well). The future improvement of a guard page at the end of every
      rust stack is still unimplemented and is intended to be the mechanism through
      which we attempt to detect C stack overflow.
      
      Closes #8822
      Closes #10155
      7755ffd0
  18. 17 9月, 2013 1 次提交
  19. 19 8月, 2013 1 次提交
  20. 26 6月, 2013 1 次提交
  21. 23 5月, 2013 1 次提交
  22. 04 5月, 2013 1 次提交
  23. 28 3月, 2013 1 次提交
  24. 27 3月, 2013 1 次提交