1. 26 9月, 2018 1 次提交
  2. 06 9月, 2018 2 次提交
  3. 28 3月, 2015 1 次提交
  4. 24 8月, 2014 1 次提交
    • W
      extern crate foobar as foo; · c0e003d5
      wickerwaka 提交于
      Implements remaining part of RFC #47.
      Addresses issue #16461.
      
      Removed link_attrs from rust.md, they don't appear to be supported by
      the parser.
      
      Changed all the tests to use the new extern crate syntax
      
      Change pretty printer to use 'as' syntax
      c0e003d5
  5. 07 4月, 2014 1 次提交
  6. 07 3月, 2014 1 次提交
    • A
      test: Add some tests for closed issues · 13e10f5b
      Alex Crichton 提交于
      Closes #6738
      Closes #7061
      Closes #7899
      Closes #9719
      Closes #10028
      Closes #10228
      Closes #10401
      Closes #11192
      Closes #11508
      Closes #11529
      Closes #11873
      Closes #11925
      13e10f5b
  7. 06 3月, 2014 2 次提交
    • 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
    • A
      native: Fix usage of a deallocated mutex · e6acff82
      Alex Crichton 提交于
      When the timer_helper thread exited, it would attempt to re-acquire the global
      task count mutex, but the mutex had previously been deallocated, leading to
      undefined behavior of the mutex, and in some cases deadlock.
      
      Another mutex is used to coordinate shutting down the timer helper thread.
      
      Closes #12699
      e6acff82
  8. 15 2月, 2014 1 次提交
  9. 12 2月, 2014 1 次提交
  10. 29 1月, 2014 1 次提交
  11. 14 1月, 2014 1 次提交
  12. 06 1月, 2014 1 次提交
    • A
      Don't abort the process in native::start · eadfe0e3
      Alex Crichton 提交于
      If the main closure failed, then the `exit_code` variable would still be `None`,
      and the `unwrap()` was failing (triggering a process abort). This changes the
      `unwrap()` to an `unwrap_or()` in order to prevent process abort and detect when
      the native task failed.
      eadfe0e3
  13. 04 1月, 2014 1 次提交
    • H
      std: adjust requested stack size for thread-local storage. · f1b5f592
      Huon Wilson 提交于
      If there is a lot of data in thread-local storage some implementations
      of pthreads (e.g. glibc) fail if you don't request a stack large enough
      -- by adjusting for the minimum size we guarantee that our stacks are
      always large enough. Issue #6233.
      f1b5f592
  14. 08 12月, 2013 1 次提交
  15. 06 10月, 2013 1 次提交
  16. 25 9月, 2013 1 次提交
  17. 11 9月, 2013 1 次提交
  18. 17 8月, 2013 1 次提交
  19. 12 7月, 2013 1 次提交
  20. 09 7月, 2013 2 次提交
  21. 11 12月, 2012 1 次提交
  22. 20 1月, 2012 2 次提交
  23. 16 1月, 2012 1 次提交
    • K
      Don't evaluate discriminator value constants when parsing. · e1c50c44
      Kevin Atkinson 提交于
      Remove disr_val from ast::variant_ and always use ty::variant_info
      when the value is needed.  Move what was done during parsing into
      other passes, primary typeck.rs.  This move also correctly type checks
      the disr. value expression; thus, fixing rustc --pretty=typed when
      disr. values are used.
      e1c50c44