Brian Anderson
7e9aa6c3c2
rt: Don't zero new stacks
2012-02-27 16:13:51 -08:00
Brian Anderson
b3f77bf927
rt: Change the way the kernel exits to avoid pthread leaks
...
This makes the kernel join every scheduler thread before exiting in order to
ensure that all threads are completely terminated before the process exits. On
my machine, for 32-bit targets, this was causing regular valgrind errors.
2012-02-27 14:25:32 -08:00
Brian Anderson
e4c027446e
Revert "rt: Reconfigure the C stack for valgrind each time it's used"
...
This reverts commit 859e025652
.
This ended up not fixing the '0 bytes lost' problem and has some performance
impact.
2012-02-27 14:01:36 -08:00
Brian Anderson
8fdb213eb2
rustdoc: Optimize some closures to avoid copying
2012-02-26 23:49:37 -08:00
Brian Anderson
3bfa457039
rustdoc: Rename util mod to par
2012-02-26 23:10:12 -08:00
Brian Anderson
c15127fe3e
rustdoc: Do all maps as util::anymap
2012-02-26 23:07:03 -08:00
Brian Anderson
a11638f0d9
rustdoc: Remove some unused exports
2012-02-26 22:58:53 -08:00
Brian Anderson
0f054dfaee
rustdoc: Add parallel folds for native mods
2012-02-26 22:58:24 -08:00
Brian Anderson
ac34cf96ad
rustdoc: Use default_any_fold in some tests
2012-02-26 22:55:05 -08:00
Brian Anderson
59d6ec8bd9
rustdoc: Refactor some of the map code
2012-02-26 22:43:08 -08:00
Brian Anderson
4675f86084
rustdoc: Do less copying in util::parmap
2012-02-26 22:08:52 -08:00
Brian Anderson
222cfbec64
rustdoc: Add command line option parsing and a config record
2012-02-26 18:15:10 -08:00
Brian Anderson
21650d0212
rt: Remove unused forward declaration of rust_realloc_shared
2012-02-26 16:43:42 -08:00
Brian Anderson
7d1e36a315
rt: Remove ptr_vec. Unused
2012-02-26 16:24:37 -08:00
Brian Anderson
4d03e4b711
rt: Remove smart_ptr. Unused
2012-02-26 16:23:37 -08:00
Tim Chevalier
c28c258f91
Disallow type parameters in the main() function
...
Closes #1900
2012-02-25 11:06:01 -08:00
Niko Matsakis
13781f3d8d
retool serializer to be built by stage0 rustc
2012-02-24 21:14:34 -08:00
Niko Matsakis
274c9708f0
Test for #1374
2012-02-24 21:14:31 -08:00
Niko Matsakis
5ee89f3f2a
add an option to the final cc so that it prints out/logs unreclaimed ptrs
2012-02-24 20:46:27 -08:00
Niko Matsakis
acb129c541
Add temp cleanups for copy/move mode args when other args fail. Fixes #1374
2012-02-24 20:46:27 -08:00
Niko Matsakis
f3ca50c9ca
Encode/decode AST into metadata, re-instantiate inlined items
2012-02-24 20:46:27 -08:00
Niko Matsakis
be9914625b
allow snapshot to be specified in make command line
2012-02-24 20:46:27 -08:00
Jesse Ruderman
8e4c5d2d4d
Start next_id at 1 to make the compiler happy
2012-02-24 20:25:54 -08:00
Jesse Ruderman
e5521aa03e
AST fuzzer: remove ignores for fixed issues; update issue URLs
2012-02-24 19:52:56 -08:00
Jesse Ruderman
f455dc1976
Improve the cycle-collector fuzzer
2012-02-24 19:26:42 -08:00
Graydon Hoare
c00a7b08eb
Register new snapshots.
2012-02-24 18:43:22 -08:00
Graydon Hoare
5b4da3c5e1
Correct install.mk to use CFG_LIBDIR for correct install paths on windows.
2012-02-24 18:29:44 -08:00
Brian Anderson
16d290d10c
rustdoc: Reexport native functions
2012-02-24 15:59:34 -08:00
Brian Anderson
396540f19d
rustdoc: Don't prune reexports
2012-02-24 15:43:57 -08:00
Brian Anderson
9b009ea23d
rustdoc: Fix some remaining bugs around native mods
2012-02-24 15:22:57 -08:00
Brian Anderson
6e31983179
rustdoc: Sort native mods
2012-02-24 15:15:27 -08:00
Brian Anderson
5a86313387
rustdoc: Write markdown for native mods and fns
2012-02-24 15:07:08 -08:00
Brian Anderson
16010058a6
rustdoc: Add types for native functions
2012-02-24 15:06:58 -08:00
Brian Anderson
2576a3c2c9
rustdoc: Extract attribute docs from native stuffs
2012-02-24 14:22:13 -08:00
Brian Anderson
f053f06973
rustdoc: Record paths to native functions
2012-02-24 14:08:47 -08:00
Brian Anderson
681e5beac4
rustdoc: Remove a pointer that's no longer needed
2012-02-24 13:53:28 -08:00
Brian Anderson
fdea1c414c
rustdoc: Extract doc nodes for native mods
2012-02-24 13:50:40 -08:00
Brian Anderson
ba173d8409
rustdoc: Add doc node for native mods
2012-02-24 13:34:35 -08:00
Brian Anderson
155a67eae7
Revert "rt: Cut the red zone to 10K on mac"
...
This reverts commit cb7022cfc2
.
2012-02-24 12:26:06 -08:00
Brian Anderson
9982a2a841
rustc: Don't add duplicate entries to exp_map
2012-02-23 21:52:41 -08:00
Brian Anderson
cb7022cfc2
rt: Cut the red zone to 10K on mac
2012-02-23 19:42:59 -08:00
Graydon Hoare
b44be95e45
Support basic, unsophisticated, somewhat wrong export-globs.
2012-02-23 18:39:14 -08:00
Graydon Hoare
5f4dcb0fa4
Fix comment, add test that export glob works as import glob in scope.
2012-02-23 18:39:13 -08:00
Graydon Hoare
1f4a6bb3ad
Treat export-globs as import-globs for sake of linking.
2012-02-23 18:39:12 -08:00
Graydon Hoare
893bbea576
Minor renaming to help my comprehension.
2012-02-23 18:39:11 -08:00
Brian Anderson
050b8bfdf8
Revert "etc: Add helgrind suppression for lock_held_by_current_thread"
...
This reverts commit d44ca0923a
.
2012-02-23 18:27:40 -08:00
Brian Anderson
710258cc76
rustdoc: Make reexports work in the crate module
2012-02-23 18:06:43 -08:00
Brian Anderson
d44ca0923a
etc: Add helgrind suppression for lock_held_by_current_thread
...
I have some confidence that this function is correct now, but helgrind still
doesn't like it because it's not lock-protected.
2012-02-23 17:29:06 -08:00
Marijn Haverbeke
8733386bcc
Make sure fold_ty preserves associated def_ids
...
Closes #1884
2012-02-23 17:44:03 +01:00
Marijn Haverbeke
0f00d9a797
Adjust fuzzer and cargo to changes in core::str API
2012-02-23 17:11:21 +01:00