- 22 5月, 2013 2 次提交
-
-
由 Tim Chevalier 提交于
-
由 bors 提交于
Fixes https://github.com/mozilla/rust/issues/6578 by merging the 3 different ways to build an AST into a single `AstBuilder` trait, creating a more uniform and briefer interface. Also, converts the `ext_ctxt` trait-object to be a plain struct, as well as renaming it to `ExtCtxt`. Seems to make expansion slightly faster for the normal case (e.g. `libcore` and `libstd`), but slower for `librustc` (slightly) and `libsyntax` (0.3s -> 0.8s! I'm investigating this, but I'd prefer this patch to land relatively quickly.). `git blame` suggests maybe @graydon or @erickt are familiar with this area of the code. r?
-
- 21 5月, 2013 38 次提交
-
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 Huon Wilson 提交于
-
由 bors 提交于
-
由 Seo Sanghyeon 提交于
-
由 Seo Sanghyeon 提交于
-
由 bors 提交于
Results of libcore and libstd tests ``` failures: rand::tests::test_rng_seeded_custom_seed2 time::tests::run_tests uv_ll::test::test_uv_ll_struct_size_addrinfo uv_ll::test::test_uv_ll_struct_size_uv_timer_t segfaults: stackwalk::test_simple stackwalk::test_simple_deep ```
-
由 bors 提交于
Resolves #6633 and removes an unnecessary import in libcore
-
由 bors 提交于
This adds a lint mode for detecting unnecessary allocations on the heap. This isn't super fancy, currently it only has two rules 1. For a function's arguments, if you allocate a `[~|@]str` literal, when the type of the argument is a `&str`, emit a warning. 2. For the same case, emit warnings for boxed vectors when slices are required. After adding the lint, I rampaged through the libraries and removed all the unnecessary allocations I could find.
-
由 bors 提交于
-
由 bors 提交于
r? Mostly refactoring, and adding some of the remaining types described in #4419. The [`Local`](https://github.com/brson/rust/blob/3b4ff41511cfaa5e311b03d16b47bf40c117fa2f/src/libcore/rt/local.rs#L17) trait collects some common, often unsafe patterns around task-local and thread-local values. Making all these types safe is largely the aim of #6210.
-
由 Jyun-Yan You 提交于
-
由 bors 提交于
-
由 bors 提交于
-
由 bors 提交于
r? @pcwalton
-
由 Brian Anderson 提交于
-
由 bors 提交于
Remove the uncommon term 'object tree' in favor of 'value'.
-
由 bors 提交于
...s
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
This is the queue used to send messages to Schedulers
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 bors 提交于
* Add ARC::get method and implements the function from it. * Add an example showing a simple use of ARC. Update PR #6622 to avoid git noise. I will remove the function get later.
-