about summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
2011-12-16std: file_is_dir -> path_is_dir, add path_existsElly Jones-2/+3
2011-12-15massive refactor of how closures workNiko Matsakis-1/+2
2011-12-14export upcall_clone_type_descNiko Matsakis-0/+1
2011-12-06rt: Various tweaks to make __morestack unwinding work on linuxBrian Anderson-0/+1
When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future.
2011-12-05test: Test hitting the dynamic linker in the red zoneBrian Anderson-0/+1
2011-12-01stdlib: Implement some preliminary libuv bindingsBrian Anderson-1/+9
std::uv is intended to be low-level, exactly mirroring the C API. Difficult to continue the implementation now without scheduler improvements.
2011-11-30rt: Reorganize stack growth codeBrian Anderson-2/+2
2011-11-30rt: Remove the stack pointer field of stk_segBrian Anderson-1/+0
2011-11-30rt: Remove upcall_alloc_c_stack/call_c_stack, et. al.Brian Anderson-5/+0
We are using upcall_call_shim_on_c_stack now
2011-11-28build: Stop linking morestack.S to rtBrian Anderson-1/+0
__morestack has to be linked statically. The odd calling convention on x86_64 results in the arguments to __morestack (r10 & r11) being clobbered by the dynamic linker. gcc links all the __morestack functions statically.
2011-11-18get pure wrappers approach runningNiko Matsakis-0/+2
2011-11-18rt: Remove size_of and align_of functions. Now written in RustBrian Anderson-2/+0
2011-11-17rt: More work on morestackPatrick Walton-2/+8
2011-11-16Revert "rt: More work on morestack"Brian Anderson-8/+2
This reverts commit 68aff2ad6d55a051e9347aa38f945d114f282691.
2011-11-16rt: More work on morestackPatrick Walton-2/+8
2011-11-16Disconnect ports before draining them. Issue #1155Brian Anderson-0/+1
2011-11-16begin efforts to use shim functions for c-stack callsNiko Matsakis-0/+1
2011-11-14Revert "rt: More work on morestack"Patrick Walton-8/+2
This reverts commit ced0d4f15e11e2c74766d1055146946ded3fba51.
2011-11-14rt: More work on morestackPatrick Walton-2/+8
2011-11-13Drop enqueued elements when a port is destructed. Closes #1155Brian Anderson-0/+1
2011-11-11rt: Remove drop_port. UnusedBrian Anderson-1/+0
2011-11-10rt: Remove rust_aio.cpp. Bitrotted.Brian Anderson-10/+0
2011-11-10rt: Remove new_chan. Not neededBrian Anderson-1/+0
2011-11-10rt: Remove chan_send. Unused.Brian Anderson-1/+0
2011-11-08Make task_sleep an intrinsic.Brian Anderson-1/+1
2011-11-08rt: Remove task_yield builtinBrian Anderson-1/+0
This is just a special case of task_sleep
2011-10-26Remove task::join_idBrian Anderson-1/+0
This is the old, racy way of joining to a task. It is no longer used.
2011-10-24fix c-stack-cdecl when used w/ i64Niko Matsakis-0/+1
2011-10-24switch over sqrt from llvm to c-stack-cdecl, exposing a bug inNiko Matsakis-0/+1
the supported return types of upcall_c_stack
2011-10-24move sys fns into c-stack-cdecl and get_type_desc() into rustiNiko Matsakis-1/+0
there is one test failure, stdtest/sys.rs, which inexplicably (thus far) fails to compile because it invokes sys::rustrt::last_os_error() instead of invoking sys::last_os_error(). If stdtest/sys.rs is updated to invoke the wrapper, it passes. Still tracing the source of this error.
2011-10-21add get_type_desc to list of exported funcsNiko Matsakis-0/+1
2011-10-20Do not pass taskpointers to "rust" native functionsMarijn Haverbeke-1/+0
Issue #466
2011-10-20Remove spawn_wrap and main_wrap kludgesMarijn Haverbeke-1/+0
This isn't needed now that our functions are cdecl (and was apparently only still working by accident). Issue #992
2011-09-28rt: Add a call stub that switches to the C stack, untested as of yetPatrick Walton-0/+1
2011-09-28rt: Add an upcall to allocate space on the C stack. This will be used for ↵Patrick Walton-0/+1
native calls on the C stack.
2011-09-11Remove hack_allow_leaksBrian Anderson-1/+0
Happy to close the loop on this one. Issue #236
2011-09-11Add upcall_rust_personalityBrian Anderson-0/+1
This just wraps __gxx_personality_v0 with our upcall naming convention Issue #236
2011-09-09Get rid of some unused upcallsMarijn Haverbeke-5/+0
I guess these became obsolete when the communication stuff moved into the stdlib.
2011-09-09Remove unused logging upcalls from runtimeMarijn Haverbeke-3/+0
2011-09-07Rewrite spawn yet againBrian Anderson-0/+1
The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236
2011-09-03Remove unused runtime functions. Issue #855Brian Anderson-2/+0
2011-09-02Rename istr-stuff to str in the runtime. Issue #855Brian Anderson-1/+1
2011-09-02Remove estrs and evecs from runtime. Issue #855Brian Anderson-8/+0
2011-09-01Remove a bunch of string builtins. Issue #855Brian Anderson-6/+0
2011-08-31Expose STDERR to rust.Erick Tryzelaar-0/+1
2011-08-31rt: Make the dynamic stack self-describingPatrick Walton-0/+1
2011-08-30Allow main to take istrs. Issue #855Brian Anderson-0/+1
2011-08-29Rename upcall_istr_push to rust_istr_push in rustrt.def.inBrian Anderson-1/+1
2011-08-29Make std::istr::push_byte efficientMarijn Haverbeke-0/+1
It used to allocate two (!) heap values per pushed byte. It now goes through a runtime function that simply grows the istr and writes the byte.
2011-08-29Implement non-internal ivecsMarijn Haverbeke-11/+6
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.