- 08 4月, 2014 3 次提交
-
-
由 Alex Crichton 提交于
This appears to be causing the BSD bots to lock up when looking at the core dumps I've managed to get. Dropping the `FileDesc` structure triggers the `Arc` it's contained in to get cleaned up, invoking free(). This instead just closes the file descriptor (the arc itself is never cleaned up). I'm still not entirely sure why this is a problem because the pthreads runtime should register hooks for fork() to prevent this sort of deadlock, but perhaps that's only done on linux?
-
由 bors 提交于
Rebasing of #12304.
-
由 Alex Crichton 提交于
-
- 07 4月, 2014 19 次提交
-
-
由 bors 提交于
-
由 bors 提交于
Add requirements of TotalEq and TotalOrd Clarify that TotalEq needs an underlying equivalence relation and that TotalOrd needs a total ordering and specifically named the required (and sufficient) attributes.
-
由 bors 提交于
This test relies on the parent to be descheduled before the child sends its data. This has proved to be unreliable on libnative on the bots. It's a fairly trivial test regardless, so ignoring it for now won't lose much.
-
由 bors 提交于
This also makes the listener struct sendable again by explicitly putting the Send bound on the relevant Rtio object. cc #13352
-
由 bors 提交于
This has to be the most pathetic pull request I've ever made, but the `[` in `#![some_attribute]` was not getting highlighted in KATE.
-
由 bors 提交于
`Reader`, `Writer`, `MemReader`, `MemWriter`, and `MultiWriter` now work with `Vec<u8>` instead of `~[u8]`. This does introduce some extra copies since `from_utf8_owned` isn't usable anymore, but I think that can't be helped until `~str`'s representation changes.
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
This should make BSD use the proper GNU make.
-
由 Brian Anderson 提交于
Broken on BSD. #12460
-
由 Brian Anderson 提交于
-
由 Steven Fackler 提交于
-
由 Steven Fackler 提交于
-
由 Steven Fackler 提交于
There's a little more allocation here and there now since from_utf8_owned can't be used with Vec.
-
由 free-Runner 提交于
-
由 bors 提交于
In the error message for when a private field is used, include the name of the struct, or if it's a struct-like enum variant, the names of the variant and the enum. This fixes #13341.
-
- 06 4月, 2014 18 次提交
-
-
由 bors 提交于
This adds links to `#rust-gamedev`, `#rust-internals`, and `#rust-osdev`.
-
由 Tobias Bucher 提交于
-
由 bors 提交于
Rust currently defaults to `RelocPIC` regardless. This patch adds a new codegen option that allows choosing different relocation-model. The available models are: - default (Use the target-specific default model) - static - pic - no-pic For a more detailed information use `llc --help`
-
由 Tobias Bucher 提交于
Clarify that TotalEq needs an underlying equivalence relation and that TotalOrd needs a total ordering and specifically named the required (and sufficient) attributes.
-
由 Flavio Percoco 提交于
Rust currently defaults to `RelocPIC` regardless. This patch adds a new codegen option that allows choosing different relocation-model. The available models are: - default (Use the target-specific default model) - static - pic - no-pic For a more detailed information use `llc --help`
-
由 bors 提交于
Removes the special `ty_unboxed_vec` type from the type system. It was previously used only during translating `~[T]`/`~str` allocation and drop glue.
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
Rebasing of #12526 with a very obscure bug fixed on windows.
-
由 bors 提交于
In summary these are some example transitions this change makes: 'a || => ||: 'a proc:Send() => proc():Send The intended syntax for closures is to put the lifetime bound not at the front but rather in the list of bounds. Currently there is no official support in the AST for bounds that are not 'static, so this case is currently specially handled in the parser to desugar to what the AST is expecting. Additionally, this moves the bounds on procedures to the correct position, which is after the argument list. The current grammar for closures and procedures is: procedure := 'proc' [ '<' lifetime-list '>' ] '(' arg-list ')' [ ':' bound-list ] [ '->' type ] closure := [ 'unsafe' ] ['<' lifetime-list '>' ] '|' arg-list '|' [ ':' bound-list ] [ '->' type ] lifetime-list := lifetime | lifetime ',' lifetime-list arg-list := ident ':' type | ident ':' type ',' arg-list bound-list := bound | bound '+' bound-list bound := path | lifetime This does not currently handle the << ambiguity in `Option<<'a>||>`, I am deferring that to a later patch. Additionally, this removes the support for the obsolete syntaxes of ~fn and &fn. Closes #10553 Closes #10767 Closes #11209 Closes #11210 Closes #11211
-
由 Alex Crichton 提交于
This test relies on the parent to be descheduled before the child sends its data. This has proved to be unreliable on libnative on the bots. It's a fairly trivial test regardless, so ignoring it for now won't lose much.
-
由 Alex Crichton 提交于
In summary these are some example transitions this change makes: 'a || => ||: 'a proc:Send() => proc():Send The intended syntax for closures is to put the lifetime bound not at the front but rather in the list of bounds. Currently there is no official support in the AST for bounds that are not 'static, so this case is currently specially handled in the parser to desugar to what the AST is expecting. Additionally, this moves the bounds on procedures to the correct position, which is after the argument list. The current grammar for closures and procedures is: procedure := 'proc' [ '<' lifetime-list '>' ] '(' arg-list ')' [ ':' bound-list ] [ '->' type ] closure := [ 'unsafe' ] ['<' lifetime-list '>' ] '|' arg-list '|' [ ':' bound-list ] [ '->' type ] lifetime-list := lifetime | lifetime ',' lifetime-list arg-list := ident ':' type | ident ':' type ',' arg-list bound-list := bound | bound '+' bound-list bound := path | lifetime This does not currently handle the << ambiguity in `Option<<'a>||>`, I am deferring that to a later patch. Additionally, this removes the support for the obsolete syntaxes of ~fn and &fn. Closes #10553 Closes #10767 Closes #11209 Closes #11210 Closes #11211
-
由 Alex Crichton 提交于
This also makes the listener struct sendable again by explicitly putting the Send bound on the relevant Rtio object. cc #13352
-
由 bors 提交于
The calculation for whether a field is public or private was tweaked in #13184, but I forgot to update rustdoc. Closes #13310
-
由 Alex Crichton 提交于
This was quite a curious bug on windows, and the details can be found in the comment I added to src/librustc/back/link.rs
-
由 Benjamin Herr 提交于
-
由 HeroesGrave 提交于
-
由 bors 提交于
Fix #13247. r? @alexcrichton (or anyone else, really).
-
由 bors 提交于
Previously, Rebuilder did not visit type parameters when rebuilding generics and path, so in some cases the suggestion turns out to be erroneous.
-