summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2012-01-20revert accidental commitsNiko Matsakis-2/+2
2012-01-20small fixes for building dist on windowsNiko Matsakis-2/+2
2012-01-17roll back commit 1c7a62Niko Matsakis-10/+0
2012-01-17encode variant names and have log print them out.Niko Matsakis-8/+26
2012-01-17Use a memset upcall to zero things without static alignmentMarijn Haverbeke-0/+10
This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately.
2012-01-16use correct size for logging mod_entry state fieldsJyun-Yan You-27/+27
The compiler outputs 32-bit values for these and on 64-bit FreeBSD the runtime was scribbling on some state used by getenv and segfaulting.
2012-01-13rt: Allow console logging to be turned offBrian Anderson-1/+46
2012-01-12libcore: Add sys::set_exit_statusBrian Anderson-5/+22
Sets the process exit code
2012-01-12add tydescs into shape, rewrite walk_fn_contents()Niko Matsakis-47/+53
2012-01-12free uniq data we encounter on the sweep, walk thru them otherwiseNiko Matsakis-257/+402
2012-01-11update iface cc code to not walk contents (as with other boxes)Niko Matsakis-2/+4
2012-01-11rt: Add RUST_MAX_STACK env var with 8MB defaultBrian Anderson-16/+46
Closes #1489
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-1/+20
2012-01-11Revert some iface shape code, fix a few more things in itMarijn Haverbeke-30/+19
We can now run the compiler with an iface-based hashtable implementation.
2012-01-10update shape code to handle iface instancesNiko Matsakis-11/+36
2012-01-10rt: Export upcall_s_shared_malloc since the SpiderMonkey bindings need itPatrick Walton-0/+1
2012-01-09add rust_task_is_unwinding predicate and do not kill if already unwindingNiko Matsakis-13/+21
2012-01-09rt: Set Linux red zone to 20K againBrian Anderson-2/+2
With runtime logging on it smashes the stack
2012-01-09Fix bug in iface shape codeMarijn Haverbeke-1/+4
Issue #1437
2012-01-09Add cases for iface values to rust_shape.hMarijn Haverbeke-0/+28
They appear to log okay now, but I can't promise much beyond that. @pcwalton If you feel like taking a look, I'd be grateful. Interfaces are boxes containing a (tydesc, dict, value_of_any_type) tuple, where the leading tydesc describes the whole tuple. Issue #1437
2012-01-09rt: Fix build with clang on non-MacHaitao Li-2/+7
2012-01-08Fix some bad code in the dict internerMarijn Haverbeke-11/+5
Issue #1436
2012-01-07fix valgrind error: allocate enough space for all type descsNiko Matsakis-1/+1
2012-01-06add rust_util.h header fileNiko Matsakis-1/+1
2012-01-06plug leak: free shared type descrs recursively, as we ought toNiko Matsakis-1/+3
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-54/+52
2012-01-06rewrite task testsNiko Matsakis-32/+38
2012-01-06simplify task implNiko Matsakis-45/+29
2012-01-06Revert "rt: Reduce mac red zone to 6K"Brian Anderson-2/+2
This reverts commit d499e739a1eb67e887f5756f9dfef17199a6d041.
2012-01-06rt: Reduce mac red zone to 6KBrian Anderson-2/+2
2012-01-06rt: Fail the scheduler immediately on task failure in win32Brian Anderson-0/+2
2012-01-06Make binding of fns with bounded type parameters workMarijn Haverbeke-0/+62
Interns non-static dicts to heap-allocated equivalents so that they no longer have stack scope. Closes #1436
2012-01-06add alignment to i386 for good measure, though we do not yetNiko Matsakis-1/+1
save SSE regs in i386 (we ought to, though!)
2012-01-06fix alignment of registers structureNiko Matsakis-6/+3
2012-01-01add missing library, enable segmented stacks for freebsdJyun-Yan You-4/+6
2012-01-01forgot to add parenthesesJyun-Yan You-1/+1
2012-01-01freebsd supportUser Jyyou-22/+42
2011-12-29Save and restore xmm regs across the call to UPCALL_NEW_STACK during ↵Graydon Hoare-1/+30
__morestack, close #1388.
2011-12-29Remove obsolete comments.Graydon Hoare-4/+0
2011-12-28Tidy up some drift in runtime logging, close #1380.Graydon Hoare-15/+23
2011-12-25rt: Set the initial obstack size to 128 bytesBrian Anderson-5/+10
Double the size on each allocation
2011-12-22Revert all of yesterday's snapshots and try again. Cursed!Graydon Hoare-3/+3
2011-12-20Revert "wip"Brian Anderson-14/+1
This reverts commit aeadc6269ef76f4425a49d892ceac7ea311ef5c1.
2011-12-20rt: Lock before using the random number generatorBrian Anderson-5/+3
Seeing crashes here trying to stress test concurrent tasks
2011-12-20wipBrian Anderson-1/+14
2011-12-20rt: Remove rust_task::grow. ObsoleteBrian Anderson-11/+0
2011-12-20rt: Don't check the stack canary on most upcallsBrian Anderson-10/+4
2011-12-20Revert "rt: Reduce the mac red zone to 2K"Brian Anderson-2/+2
This reverts commit ba8f369f890f6c7241c616df552f0e2ebf1509c8.
2011-12-20rt: Reduce the mac red zone to 2KBrian Anderson-2/+2
2011-12-20rt: Reduce the linux red zone to 2KBrian Anderson-2/+2