summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
2013-06-30vec: implement exchange vector reserve in RustDaniel Micay-1/+0
2013-06-30simplify the exchange allocatorDaniel Micay-1/+0
* stop using an atomic counter, this has a significant cost and valgrind will already catch these leaks * remove the extra layer of function calls * remove the assert of non-null in free, freeing null is well defined but throwing a failure from free will not be * stop initializing the `prev`/`next` pointers * abort on out-of-memory, failing won't necessarily work
2013-06-25auto merge of #7254 : Blei/rust/intrinsic-overhaul, r=cmrbors-1/+0
This sets the `get_tydesc()` return type correctly and removes the intrinsic module. See #3730, #3475. Update: this now also removes the unused shape fields in tydescs.
2013-06-23Support foreign 'static mut' variables as wellAlex Crichton-1/+3
2013-06-23Remove rust_call_tydesc_gluePhilipp Brüschweiler-2/+1
Towards #4812. Also includes some minor cleanups.
2013-06-18std: Work around some failing 'run' tests when valgrinding. #7224Brian Anderson-0/+1
Under valgrind on 64->32 cross compiles the dynamic linker is emitting some error messages on stderr, which interferes with the tests that are checking stderr.
2013-05-20rt: Rename rust_initialize_global_state to rust_initialize_rt_tls_keyBrian Anderson-1/+1
2013-05-15rt: Rename sched_key to rt_keyBrian Anderson-1/+1
It is more general-purpose than holding scheduler pointers
2013-05-15core::rt: Initialize loggingBrian Anderson-1/+1
2013-05-15core: Use a global lock instead of runtime lock for os::getenv, etc. #4726Brian Anderson-1/+4
2013-05-15core:rt: A few micro-optsBrian Anderson-1/+1
2013-05-14core::rt: Register stacks with valgrind. #6428Brian Anderson-0/+2
2013-05-07rt: Remove rust_call_nullary_fnBrian Anderson-1/+0
There's no need to delegate to C to call the Rust main function.
2013-05-06add rust_take_task_borrow_list and rust_set_task_borrow_list to rustrt.def.inNiko Matsakis-0/+2
2013-05-02Merge remote-tracking branch 'brson/io' into incomingBrian Anderson-1/+9
Conflicts: mk/rt.mk src/libcore/run.rs
2013-05-02Convert most of rust_run_program.cpp to rust (issue #2674).gareth-2/+2
2013-04-23Merge remote-tracking branch 'brson/io'Brian Anderson-1/+9
This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs
2013-04-22core::rt: Add unwinding to newsched tasksBrian Anderson-0/+2
2013-04-21core::rt: Add the local heap to newsched tasksBrian Anderson-0/+6
Reusing the existing boxed_region implementation from the runtime
2013-04-21auto merge of #5887 : jdm/rust/stackbounds, r=brsonbors-0/+1
This is needed to allow GC to work in SpiderMonkey.
2013-04-21rt: Make the C stack segment accessible to runtime users.Josh Matthews-0/+1
2013-04-20rt: Add rust_dbg_next_port for generating test port numbersBrian Anderson-1/+1
2013-04-19auto merge of #5962 : pcwalton/rust/shootout, r=pcwaltonbors-0/+2
r? @brson
2013-04-19core: Add rt::context for figuring out what runtime services are availableBrian Anderson-0/+1
Conflicts: src/libcore/rt/sched/mod.rs
2013-04-19librustc: Implement fast-ffi and use it in various placesPatrick Walton-0/+2
2013-04-17rustc: Use an out pointer to return structs in x86 C ABI. #5347Brian Anderson-1/+7
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-14add rust_dbg_extern_identity_TwoDoubles to prevent check-fast failureJyun-Yan You-0/+1
2013-03-18Add a way to run the test suite with the new schedulerBrian Anderson-0/+3
TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in
2013-03-18core: Simplify uvll bindings and strip out currently-unused bitsBrian Anderson-0/+9
No more mapping uv structs to Rust structs
2013-03-16rt: Add RUST_DEBUG_MEM to rust_env to avoid racesBrian Anderson-0/+1
2013-03-13Revamp foreign code not to consider the Rust modes. This requiresNiko Matsakis-1/+6
adjusting a few foreign functions that were declared with by-ref mode. This also allows us to remove by-val mode in the near future. With copy mode, though, we have to be careful because Rust will implicitly pass somethings by pointer but this may not be the C ABI rules. For example, rust will pass a struct Foo as a Foo*. So I added some code into the adapters to fix this (though the C ABI rules may put the pointer back, oh well). This patch also includes a lint mode for the use of by-ref mode in foreign functions as the semantics of this have changed.
2013-03-12Work around linkage bug cross-compiling from x86_64-apple-darwin to ↵Brian Anderson-0/+2
i686-apple-darwin The correct opendir/readdir to use appear to be the 64-bit versions called opendir$INODE64, etc. but for some reason I can't get them to link properly on i686. Putting them in librustrt and making gcc figure it out works. This mystery will have to wait for another day.
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-0/+7
2013-03-11rt/core: port os::list_dir to rust ref #4812Jeff Olson-2/+3
2013-03-11rt/core: impl os::getcwd() in rust ref #4812Jeff Olson-2/+0
2013-02-19rt: remove export of symbol removed in last commit, r=burningtreeGraydon Hoare-1/+0
2013-02-19rt: fix memory-unsafe random seed logic, r=valgrindcleanGraydon Hoare-2/+2
2013-02-13rt: get rid of rust_fn and replace with fn_env_pair plus a little cleanup.Luqman Aden-1/+0
2013-02-12auto merge of #4900 : luqmana/rust/core_os_errors, r=graydonbors-1/+0
Rewrote the last pull request (#4859) to not require on llvm for core. Also fixes #2269.
2013-02-12auto merge of #4858 : z0w0/rust/rm_weak_task_count, r=graydonbors-2/+2
2013-02-12rt: remove last_os_error from rustrt.def.inLuqman Aden-1/+0
2013-02-10rt/std: update of libuv API glue for libuv submodule updateJeff Olson-1/+1
2013-02-09Rename dec/inc_weak_task_count to inc/dec_live_count and remove ↵Zack Corr-2/+2
register_task/unregister_task. Closes #4768
2013-02-08rt: remove unused 'rust_compare_and_swap_ptr'. Closes #4836Mark Vian-1/+0
2013-02-06Rewrite the exchange allocator to work without an active scheduler. #4457Brian Anderson-5/+2
2013-02-01rt: Remove some unused upcallsBrian Anderson-3/+0
2013-02-01rt: Remove portsBrian Anderson-12/+0
2013-01-23Remove old comm-based weak task interfaceBrian Anderson-2/+0
2013-01-23std: Convert uv_global_loop to use pipesBrian Anderson-1/+0
2013-01-23core: Convert getenv/setenv to use a mutexBrian Anderson-1/+0
This much simpler implementation uses a global mutex and eliminates the kernel environment channel.