- 06 3月, 2014 2 次提交
-
-
由 Alex Crichton 提交于
Using nanosleep() allows us to gracefully recover from EINTR because on error it fills in the second parameter with the remaining time to sleep. Closes #12689
-
由 Alex Crichton 提交于
This function is not threadsafe, and is deprecated in favor of the threadsafe readdir_r variant. Closes #12692
-
- 05 3月, 2014 7 次提交
-
-
由 bors 提交于
This become `Pod` when it was switched to using marker types.
-
由 Daniel Micay 提交于
This become `Pod` when it was switched to using marker types.
-
由 bors 提交于
- Added `TraitObject` representation to `std::raw`. - Added doc to `std::raw`. - Removed `Any::as_void_ptr()` and `Any::as_mut_void_ptr()` methods as they are uneccessary now after the removal of headers on owned boxes. This reduces the number of virtual calls needed from 2 to 1. - Made the `..Ext` implementations work directly with the repr of a trait object. - Removed `Any`-related traits from the prelude. - Added bench. Bench before/after: ~~~ 7 ns/iter (+/- 0) 4 ns/iter (+/- 0) ~~~
-
由 Marvin Löbel 提交于
- Added `TraitObject` representation to `std::raw`. - Added doc to `std::raw`. - Removed `Any::as_void_ptr()` and `Any::as_mut_void_ptr()` methods as they are uneccessary now after the removal of headers on owned boxes. This reduces the number of virtual calls needed. - Made the `..Ext` implementations work directly with the repr of a trait object. - Removed `Any`-related traits from the prelude. - Added bench for `Any`
-
由 bors 提交于
[Here is](http://adrientetar.legtux.org/cached/rust-doc/to_str.rs.html) an example. Closes #12648. @alexcrichton, @huonw
-
由 Adrien Tétar 提交于
-
由 Adrien Tétar 提交于
-
- 04 3月, 2014 9 次提交
-
-
由 bors 提交于
While we are not yet ready for compiler i18n, this also keeps the error handling code clean. The set of altered error messages was obtained by grepping for `"s"` and `(s)`, so there might be some missing messages.
-
由 Kang Seonghoon 提交于
-
由 bors 提交于
syntax: make match arms store the expr directly. Previously `ast::Arm` was always storing a single `ast::Expr` wrapped in an `ast::Block` (for historical reasons, AIUI), so we might as just store that expr directly. Closes #3085.
-
由 bors 提交于
-
由 bors 提交于
This should fix the travis builds.
-
由 Alex Crichton 提交于
This should fix the travis builds.
-
由 bors 提交于
std: add reserve_additional and an Extendable impl to Vec.
-
由 Huon Wilson 提交于
-
由 TorstenWeber 提交于
-
- 03 3月, 2014 17 次提交
-
-
由 bors 提交于
This should get us a passing snapshot again.
-
由 Huon Wilson 提交于
Previously `ast::Arm` was always storing a single `ast::Expr` wrapped in an `ast::Block` (for historical reasons, AIUI), so we might as just store that expr directly. Closes #3085.
-
由 Alex Crichton 提交于
This should get us a passing snapshot again.
-
由 Micah Chalmer 提交于
The incompatibility of rust-mode with global-whitespace-mode warned about in the README was actually fixed by commit 581b3db3. Remove the warning from the README and close #3994.
-
由 bors 提交于
-
由 bors 提交于
These tests are failing on the snap builders, and are now tagged with a FIXME. cc #12102
-
由 Steven Fackler 提交于
-
由 bors 提交于
A couple of syntax extensions manually expanded expressions, but it wasn't done universally, most noticably inside of asm!(). There's also a bit of random cleanup.
-
由 Alex Crichton 提交于
These tests are failing on the snap builders, and are now tagged with a FIXME. cc #12102
-
由 Steven Fackler 提交于
A couple of syntax extensions manually expanded expressions, but it wasn't done universally, most noticably inside of asm!(). There's also a bit of random cleanup.
-
由 bors 提交于
According to `/etc/terminfo/README`, ``` This directory is for system-local terminfo descriptions. By default, ncurses will search ${HOME}/.terminfo first, then /etc/terminfo (this directory), then /lib/terminfo, and last not least /usr/share/terminfo. ```
-
由 Virgile Andreani 提交于
-
由 bors 提交于
This commit let librustc automatically pickup LDFLAGS dependencies inherited from LLVM, which may otherwise result in undefined references to external symbols under certain linking environment. A symptom of this issue is eg. a failure when trying to link against librustc (due to unresolved ffi_* symbols), while using a system-wide LLVM. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
由 Luca Bruno 提交于
Indirect dependencies should now be picked up through the autogenerated llvmdeps.rs instead. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
由 bors 提交于
r? @alexcrichton
-
由 Luca Bruno 提交于
This commit let librustc automatically pickup LDFLAGS dependencies inherited from LLVM, which may otherwise result in undefined references to external symbols under certain linking environment. A symptom of this issue is eg. a failure when trying to link against librustc (due to unresolved ffi_*i symbols), while using a system-wide LLVM. Signed-off-by: NLuca Bruno <lucab@debian.org>
-
- 02 3月, 2014 5 次提交
-
-
由 bors 提交于
Macro definitions are just their raw source code, and so should be highlighted where possible. Also, $ident non-terminal substitutions are special, and so are worthy of a little special treatment.
-
由 bors 提交于
When the metadata format changes, old libraries often cause librustc to abort when reading their metadata. This should all change with the introduction of SVH markers, but the loader for crates should gracefully handle libraries without SVH markers still. This commit adds support for tripping fewer assertions when loading libraries by using maybe_get_doc when initially parsing metadata. It's still possible for some libraries to fall through the cracks, but this should deal with a fairly large number of them up front.
-
由 Alex Crichton 提交于
When the metadata format changes, old libraries often cause librustc to abort when reading their metadata. This should all change with the introduction of SVH markers, but the loader for crates should gracefully handle libraries without SVH markers still. This commit adds support for tripping fewer assertions when loading libraries by using maybe_get_doc when initially parsing metadata. It's still possible for some libraries to fall through the cracks, but this should deal with a fairly large number of them up front.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-