about summary refs log tree commit diff
path: root/src/rt/rust_test_helpers.cpp
AgeCommit message (Collapse)AuthorLines
2013-11-18Move runtime files to C instead of C++Alex Crichton-177/+0
Explicitly have the only C++ portion of the runtime be one file with exception handling. All other runtime files must now live in C and be fully defined in C.
2013-11-18Remove the C++ lock_and_signal typeAlex Crichton-47/+1
A the same time this purges all runtime support needed for statically initialized mutexes, moving all users over to the new Mutex type instead.
2013-11-12rt: Delete more C++Brian Anderson-1/+0
2013-10-19Use __morestack to detect stack overflowAlex Crichton-1/+0
This commit resumes management of the stack boundaries and limits when switching between tasks. This additionally leverages the __morestack function to run code on "stack overflow". The current behavior is to abort the process, but this is probably not the best behavior in the long term (for deails, see the comment I wrote up in the stack exhaustion routine).
2013-08-23rt: Remove rust_abiBrian Anderson-1/+0
2013-08-23rt: Move some test functions to rust_test_helpersBrian Anderson-0/+46
2013-08-23rt: Remove timerBrian Anderson-1/+0
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-3/+1
2013-07-30test: Use a test extern in various foreign fn testsBrian Anderson-0/+5
2013-07-08std::rt: Add a hack to allocate different test port ranges to different botsBrian Anderson-4/+4
2013-04-20core::rt: Use generated port numbers in testsBrian Anderson-1/+1
2013-04-20rt: Add rust_dbg_next_port for generating test port numbersBrian Anderson-0/+11
2013-04-17rustc: Use an out pointer to return structs in x86 C ABI. #5347Brian Anderson-20/+82
This Adds a bunch of tests for passing and returning structs of various sizes to C. It fixes the struct return rules on unix, and on windows for structs of size > 8 bytes. Struct passing on unix for structs under a certain size appears to still be broken.
2013-04-15rt: Move test functions to rust_test_helpers.cppBrian Anderson-0/+105