Crate rustrtExperimental[src]

Reexports

pub use self::unwind::{begin_unwind, begin_unwind_fmt};

Modules

args

Global storage for command line arguments

bookkeeping

Task bookkeeping

c_str

C-string manipulation and management

exclusive
local
local_data

Task local data management

local_heap

The local, garbage collected heap

mutex

A native mutex and condition variable type.

rtio

The EventLoop and internal synchronous I/O interface.

stack

Rust stack-limit management

task

Language-level runtime services that should reasonably expected to be available 'everywhere'. Local heaps, GC, unwinding, local storage, and logging. Even a 'freestanding' Rust would likely want to implement this.

thread

Native os-thread management

unwind

Implementation of Rust stack unwinding

Structs

Stdio

Statics

pub static DEFAULT_ERROR_CODE: int = 101

The default error code of the rust runtime if the main task fails instead of exiting cleanly.

 
pub static Stderr: Stdio = Stdio(libc::STDERR_FILENO)  
pub static Stdout: Stdio = Stdio(libc::STDOUT_FILENO)  

Traits

Runtime

The interface to the current runtime.

Functions

at_exit

Enqueues a procedure to run when the runtime is cleaned up

cleanup

One-time runtime cleanup.

init

One-time runtime initialization.