about summary refs log tree commit diff
path: root/src/rt/rust_util.h
AgeCommit message (Collapse)AuthorLines
2013-11-12rt: Delete more C++Brian Anderson-57/+0
2013-09-26Remove a little bit of unused C++Brian Anderson-18/+0
2013-08-23rt: Remove rust_util.cppBrian Anderson-2/+0
2013-08-23rt: Remove rust_exchange_allocBrian Anderson-11/+0
2013-08-16rt: Remove rust_envBrian Anderson-1/+0
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-1/+2
2013-07-15remove headers from unique vectorsDaniel Micay-6/+6
2013-06-24std: Rewrite vec_reserve_shared_actual in RustBrian Anderson-10/+0
2013-04-24Remove FIXME #2699---I believe the calculation is correct. Fixes #2699.Niko Matsakis-1/+0
2013-03-11rt/core: port os::list_dir to rust ref #4812Jeff Olson-32/+0
2013-02-27rt: Make some runtime calls work outside of task contextBrian Anderson-3/+4
2013-02-16rm unused reserve_vec from rt (done in libcore)Daniel Micay-19/+0
2013-02-14move isaac RNG utility functions to new rust_rng.cpp fileChris Peterson-59/+0
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-11-26Add a FIXME about the problems closing /dev/urandomBrian Anderson-0/+1
2012-11-26Log errors from close instead of ignoring them.Jesse Jones-1/+4
They shouldn't matter but there have been errors on Macs so logging them may help root cause the issue.
2012-11-26Some isaac_ssed fixes:Jesse Jones-4/+7
1) Check for eof (shouldn't happen, but if it does we'll fall into an infinite loop). 2) Use fatal instead of assert (will work if NDEBUG is ever defined and provides better diagnostics). 3) Ignore errors from close since they shouldn't matter. Closes #3679.
2012-07-25Fix asserts & short-read bug in isaac_seed (#2870)Ben Blum-5/+10
2012-07-17Create some infrastructure for building up @-vectors. Work on #2921.Michael Sullivan-0/+10
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-1/+1
2012-06-18Put type descriptors in strings created by the runtime. Progress on #2638.Michael Sullivan-0/+5
2012-06-13Add a malloc_dyn upcall for dynamically sized allocations on the shared heap.Michael Sullivan-0/+7
2012-06-05rt: Fix iaac_init using wrong type and not seeding correctlyBrian Anderson-4/+4
This was a result of changing the vector representation to contain a box header.
2012-05-30Various changes for self-describing vecsBrian Anderson-17/+25
2012-05-21rt: Fix def of isaac_seed on windowsBrian Anderson-2/+2
2012-05-21add a seeded random number generator so that sequences of random numbers can ↵Gareth Daniel Smith-40/+47
be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-1/+2
Many changes to code structure are included: - removed TIME_SLICE_IN_MS - removed sychronized_indexed_list - removed region_owned - kernel_owned move to kernel.h, task_owned moved to task.h - global configs moved to rust_globals.h - changed #pragma once to standard guard in rust_upcall.h - got rid of memory.h
2012-04-01replace assertion macros with plain assertsJon Morton-5/+4
2012-03-31rt: Fix whitespaceBrian Anderson-2/+4
2012-03-19rt: Remove an unused functionBrian Anderson-11/+0
2012-02-29add the ability to snag the frame so we can verify that we are inliningNiko Matsakis-0/+17
2012-02-26rt: Remove unused forward declaration of rust_realloc_sharedBrian Anderson-2/+0
2012-02-26rt: Remove ptr_vec. UnusedBrian Anderson-91/+0
2012-02-17rt: Make upcall_vec_push an intrinsicBrian Anderson-11/+1
2012-02-17rt: Don't hit TLS on upcall_vec_push unless necessaryBrian Anderson-0/+12
2012-02-07Make process-spawning take environments and working directories, remove ↵Graydon Hoare-0/+15
procsrv task from compiletest.
2012-02-05Making vec::reserve reserve precisely the size given (untested)Kevin Cantu-5/+7
2012-02-03rt: Make isaac_init not a templateBrian Anderson-10/+9
2012-02-03rt: Rename rust_scheduler to rust_task_threadBrian Anderson-25/+25
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-1/+1
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-1/+0
2011-09-02Add a rust_str typedef to the runtime. Issue #855Brian Anderson-2/+4
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-30/+0
2011-09-01Factor out make_istr utility function in runtime. Issue #855Brian Anderson-0/+13
2011-08-29Factor vector reserve code in runtime into its own functionMarijn Haverbeke-0/+9
2011-08-29Implement non-internal ivecsMarijn Haverbeke-17/+7
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.
2011-08-18Make windows respect RUST_SEED. Closes #627.Michael Sullivan-11/+10
2011-08-18Remove rc_base. Closes #603.Michael Sullivan-15/+5
2011-08-18Rename rust_vec to rust_evecBrian Anderson-5/+5