- 07 5月, 2013 1 次提交
-
-
由 Jyun-Yan You 提交于
-
- 05 5月, 2013 9 次提交
-
-
由 bors 提交于
r? (for #3326)
-
由 bors 提交于
The previous example was erroneously attempting to destroy uninitialized memory, which was often zeroed (masking the bug).
-
由 bors 提交于
transitional patch to resolve compile/link failure on android after #6161 landed, I've encountered below errors since android does not support glob in libc. /opt/ndk_standalone/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/yichoi/rust_work/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/arm-linux-androideabi/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so: error: undefined reference to 'glob' /opt/ndk_standalone/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/yichoi/rust_work/build/x86_64-unknown-linux-gnu/stage1/lib/rustc/arm-linux-androideabi/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so: error: undefined reference to 'globfre Since android does not have `glob.h`, `glob_t` definition comes from https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/vSH6MWPD0Vk #6100 should be resolved.
-
由 Young-il Choi 提交于
-
由 Daniel Micay 提交于
The previous example was erroneously attempting to destroy uninitialized memory, which was often zeroed (masking the bug).
-
由 bors 提交于
-
由 Brian Anderson 提交于
-
由 bors 提交于
In commit d7f5e437 "core::rt: Add the local heap to newsched tasks", local_malloc and local_free have become rather big and their forced inlining causes quite a bit of code bloat. Compile times for crates affected by the bloat (e.g. rustc) improve, while others (e.g. libstd) seem to be unaffected, so I guess the inlining doesn't gain us much. Sizes: ``` | librustc | libsytax ---------------|–-----------|------------ with inlining | 18,547,824 | 7,110,848 w/o inlining | 15,092,040 | 5,518,608
-
由 Björn Steinbrink 提交于
In commit d7f5e437 "core::rt: Add the local heap to newsched tasks", local_malloc and local_free have become rather big and their forced inlining causes quite a bit of code bloat. Compile times for crates affected by the bloat (e.g. rustc) improve, while others (e.g. libstd) seem to be unaffected, so I guess the inlining doesn't gain us much. Sizes: | librustc | libsytax ---------------|–-----------|------------ with inlining | 18,547,824 | 7,110,848 w/o inlining | 15,092,040 | 5,518,608
-
- 04 5月, 2013 28 次提交
-
-
由 Felix S. Klock II 提交于
(I wonder if there's a better way to write this in the rule itself; i.e. something like `$$(dirname $$@)`. But for now this will do.)
-
由 Felix S. Klock II 提交于
-
由 bors 提交于
I just had `git apply` fix most of them and then did a quick skim over the diff to fix a few cases where it did the wrong thing (mostly replacing tabs with 4 spaces, when someone's editor had them at 8 spaces).
-
由 Young-il Choi 提交于
-
由 bors 提交于
-
由 bors 提交于
during task annihilation, since it is easy to tread on freed memory.
-
由 bors 提交于
Only the first portion has to be owned, as it acts as the buffer for the constructed string. The remaining strings can be static.
-
由 bors 提交于
-
由 bors 提交于
r? @graydon
-
由 Tim Chevalier 提交于
oops.
-
由 Daniel Micay 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
In rustpkg, pass around sysroot; in rustpkg tests, set the sysroot manually so that tests can find libcore and such. With bonus metadata::filesearch refactoring to avoid copies.
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
The install command should work now, though it only installs in-place (anything else has to wait until I implement RUST_PATH). Also including: core: Add remove_directory_recursive, change copy_file Make copy_file preserve permissions, and add a remove_directory_recursive function.
-
由 bors 提交于
r? @nikomatsakis Previously, rustc would ICE if you matched on an enum-typed thing with a structure pattern. Error out correctly. This will close #5358
-
由 Niko Matsakis 提交于
during task annihilation, since it is easy to tread on freed memory.
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
Previously, rustc would ICE if you matched on an enum-typed thing with a structure pattern. Error out correctly.
-
由 bors 提交于
-
由 Luqman Aden 提交于
-
由 bors 提交于
cc #6146
-
由 bors 提交于
...re/index.html
-
由 Felix S. Klock II 提交于
This is an attempt to address Issue #3326 by adding [*order-only*][1] prerequsites of each build product on the directory where it is to go. It is important that the prerequisites be order-only, since the timestamp on a parent directory is not relevant to whether a product is out of date; the parent directory merely needs to exist. (This use case of generating target directories was provided as an [example][2] of how order-only prequisites are used.) [1]: http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html [2]: http://www.kolpackov.net/pipermail/notes/2004-January/000001.html
-
由 bors 提交于
r? @pcwalton Sorry this is so big, and sorry the first commit is just titled 'wip'. Some interesting bits * [LocalServices](https://github.com/brson/rust/commit/f9069baa70ea78117f2087fe6e359fb2ea0ae16a) - This is the set of runtime capabilities that *all* Rust code should expect access to, including the local heap, GC, logging, unwinding. * [impl Reader, etc. for Option](https://github.com/brson/rust/commit/5fbb0949a53a6ac51c6d9b187ef4c464e52ae536) - Constructors like `File::open` return Option<FileStream>. This lets you write I/O code without ever unwrapping an option. This series adds a lot of [documentation](https://github.com/brson/rust/blob/io/src/libcore/rt/io/mod.rs#L11) to `core::rt::io`.
-
- 03 5月, 2013 2 次提交
-
-
由 bors 提交于
`core::prelude` re-exports `core::to_str::ToStr`, but doesn't re-export `core::from_str::FromStr`. That is inconsistent.
-
由 Björn Steinbrink 提交于
Only the first portion has to be owned, as it acts as the buffer for the constructed string. The remaining strings can be static.
-