about summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
2013-08-16rt: Remove unused uv helpersBrian Anderson-15/+0
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-56/+1
2013-07-31extra: Remove dbg module and rt support codeBrian Anderson-7/+0
This stuff is ancient, unused, and tied to oldsched
2013-07-31auto merge of #8145 : brson/rust/rttestfixes, r=pcwaltonbors-0/+1
Two commits here that fix test case dependencies on the old scheduler.
2013-07-30test: Use a test extern in various foreign fn testsBrian Anderson-0/+1
2013-07-30std: Remove ManualThreads spawn modeBrian Anderson-2/+0
2013-07-30std::rt: Change Thread interface to require an explicit joinBrian Anderson-1/+2
Makes it more obvious what's going on
2013-07-25libstd: Implement some missing udp methods.Luqman Aden-0/+1
2013-07-25libstd: Implement {peer, socket}_name for new rt tcp & udp.Luqman Aden-6/+3
2013-07-22std: Remove at_exit API. UnusedBrian Anderson-1/+0
2013-07-22std: Remove unstable::global. UnusedBrian Anderson-1/+0
2013-07-22std::rt: Stop using unstable::global in change_dir_lockedBrian Anderson-0/+2
2013-07-22std: Remove weak_task API. UnusedBrian Anderson-2/+0
2013-07-18auto merge of #7856 : brson/rust/no-thread-per-core, r=pcwaltonbors-1/+0
This doesn't make sense under the new scheduler.
2013-07-11auto merge of #7677 : alexcrichton/rust/tls-gc, r=pcwaltonbors-2/+1
cc #6004 and #3273 This is a rewrite of TLS to get towards not requiring `@` when using task local storage. Most of the rewrite is straightforward, although there are two caveats: 1. Changing `local_set` to not require `@` is blocked on #7673 2. The code in `local_pop` is some of the most unsafe code I've written. A second set of eyes should definitely scrutinize it... The public-facing interface currently hasn't changed, although it will have to change because `local_data::get` cannot return `Option<T>`, nor can it return `Option<&T>` (the lifetime isn't known). This will have to be changed to be given a closure which yield `&T` (or as an Option). I didn't do this part of the api rewrite in this pull request as I figured that it could wait until when `@` is fully removed. This also doesn't deal with the issue of using something other than functions as keys, but I'm looking into using static slices (as mentioned in the issues).
2013-07-09std: Remove ThreadPerCore spawn mode. UnusedBrian Anderson-1/+0
2013-07-09Use purely an owned vector for storing TLS dataAlex Crichton-1/+0
2013-07-09std: Make os::set_exit_status work with newschedBrian Anderson-0/+2
2013-07-08Merge remote-tracking branch 'upstream/io' into ioEric Reed-3/+2
Conflicts: src/libstd/rt/uvio.rs
2013-07-03Merge remote-tracking branch 'mozilla/master'Brian Anderson-4/+3
Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs
2013-07-02Merge remote-tracking branch 'upstream/io' into ioEric Reed-0/+2
Conflicts: src/libstd/rt/test.rs src/rt/rustrt.def.in
2013-07-02IPv6 support for UDP and TCP.Eric Reed-0/+15
2013-07-01rt: Add global_args_lock functions to rustrt.def.inBrian Anderson-1/+3
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-25Merge remote-tracking branch 'upstream/io' into ioEric Reed-1/+7
Conflicts: src/rt/rustrt.def.in
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-24std: Make box annihilator work with newschedBrian Anderson-1/+2
2013-06-24std: Rewrite vec_reserve_shared_actual in RustBrian Anderson-1/+2
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-21std: Make console log off/on controls work with newschedBrian Anderson-0/+1
2013-06-21std::rt: Support os::argsBrian Anderson-0/+1
2013-06-20Merge remote-tracking branch 'brson/io' into io-upstreamBrian Anderson-1/+3
Conflicts: src/rt/rust_builtin.cpp src/rt/rustrt.def.in
2013-06-19std::rt: Update GC metadata in initBrian Anderson-0/+1
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-06-14Added a utility function to extract the udp handle from udp send requests.Eric Reed-0/+1
2013-06-13Corrected libuv UDP bindings.Eric Reed-1/+8
2013-06-06rt: Add rust_get_num_cpusBrian Anderson-0/+1
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