aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_builtin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add vec debugging utility to _vec module.Roy Frostig2010-08-121-1/+18
|
* Added support for task sleeping in the scheduler.Michael Bebenita2010-08-111-0/+7
|
* Remove commented-out code that slipped in during last commit.Roy Frostig2010-08-111-16/+0
|
* Add native vec[u8] to str converter. Put in workaround for leak in str to ↵Roy Frostig2010-08-111-19/+68
| | | | vec[u8] converter. Add testcase exercising both. Drive-by fix a potential array-out-of-bounds write on rust_str buffers.
* Implement _str.len() to return the number of bytes, rename it to byte_len(),Jeffrey Yasskin2010-08-061-0/+6
| | | | and add a test.
* Add a buffered writer to stdlib _io module.Roy Frostig2010-08-041-2/+2
|
* vec_alloc takes four arguments these days, not three.Roy Frostig2010-07-251-1/+1
|
* Expose an RNG (the one used by our runtime) to Rust via std.Roy Frostig2010-07-251-0/+25
|
* Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and ↵Roy Frostig2010-07-221-5/+5
| | | | runtime. Closes #109.
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-2/+2
| | | | communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
* Change from 'spawner' to 'supervisor' in rust_task, and add an unsupervise call.Graydon Hoare2010-07-051-0/+5
|
* Divide vec fill by element size when reporting vec len.Graydon Hoare2010-07-051-1/+1
|
* Add callable gc method exposed to user code, use it in mlist-cycle.rs test ↵Graydon Hoare2010-06-251-0/+5
| | | | (still not quite working; some memory corruption in the recursive tag constructors, not the GC)
* Populate tree.Graydon Hoare2010-06-231-0/+129