about summary refs log tree commit diff
path: root/src/libcore/rt.rs
AgeCommit message (Collapse)AuthorLines
2013-03-01core: Move core::rt to core::unstable::langBrian Anderson-139/+0
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-1/+1
2013-02-27Remove the last remnants of rtcallsBrian Anderson-17/+11
2013-02-26Add a 'start' lang item and use it instead of rust_startBrian Anderson-1/+16
2013-02-14core: Clean up XXXesTim Chevalier-1/+1
2013-02-07Merge pull request #4619 from brson/exchangeBrian Anderson-9/+5
Some work on freestanding Rust: foreign calls, exchange allocator
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-3/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-06Rewrite the exchange allocator to work without an active scheduler. #4457Brian Anderson-9/+5
2013-01-29librustc: Strdup unique strings instead of copying in byte by byte. Shaves ↵Patrick Walton-1/+6
2MB off librustc at -O0.
2013-01-29libcore: De-export libcore. rs=deexportingPatrick Walton-5/+3
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-0/+39
r=nmatsakis
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-10/+11
2013-01-07librustc: Fold rt items into lang items. Shaves another 10% or so off hello ↵Patrick Walton-3/+6
world compile time.
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-4/+3
contain at least two components. r=graydon
2012-12-10Adjust the die macro to only accept ~str and to work in statement positionBrian Anderson-8/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30core: Make core.rc more readable. CleanupBrian Anderson-0/+2
2012-11-28libsyntax: Implement a macro `die!` to replace the `fail` expression. r=brsonPatrick Walton-3/+6
2012-10-02De-export the submodules of task. Part of #3583.Graydon Hoare-8/+7
2012-09-30When a vec/str bounds check fails, include the bad index and the length of ↵Gareth Daniel Smith-0/+10
the str/vec in the fail message.
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-13core: Remove old definition of rt_failBrian Anderson-6/+0
2012-09-12Rename core::rt_fail to core::rt_fail_Brian Anderson-0/+6
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-1/+1
2012-09-07gc: Avoid walking stack above caller frame.Elliott Slaughter-2/+1
Mark the base GC stack frame with a sentinel value so we know when to start collecting.
2012-09-07gc: Add stack walker for new garbage collector.Elliott Slaughter-0/+4
Safe points are exported in a per-module list via the crate map. A C runtime call walks the crate map at startup and aggregates the list of safe points for the program. Currently the GC doesn't actually deallocate memory on malloc and free. Adding the GC at this stage is primarily of testing value. The GC does attempt to clean up exchange heap and stack-allocated resource on failure. A result of this patch is that the user now needs to be careful about what code they write in destructors, because the GC and/or failure cleanup may need to call destructors. Specifically, calls to malloc are considered unsafe and may result in infinite loops or segfaults.
2012-09-04libcore: "import" -> "use"Patrick Walton-4/+4
2012-09-02core: warn(non_camel_case_types) everywhere, with few exceptionsBrian Anderson-0/+1
2012-08-14De-mode comm, libc, priv, rt, sync, arc. Super easy.Ben Blum-0/+3
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-07-24Don't emit invoke instructions inside landing pads.Elliott Slaughter-0/+6
We can't throw an exception from inside a landing pad without corrupting the exception handler, so we have no hope of dealing with these exceptions anyway. See: http://llvm.org/docs/ExceptionHandling.html#cleanups Part of #2861.
2012-07-23Moved malloc and free upcalls into rust runtime.Elliott Slaughter-1/+35
2012-07-23Move fail upcall into rust libcore.Elliott Slaughter-0/+27