forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Note rust intrinsics
sanxiyn edited this page Apr 30, 2013
·
3 revisions
Rust provides several intrinsic functions. These are called like normal functions, but are translated directly into LLVM code by trans. These are meant to implement low-level, unsafe things in the core libraries. This page attempts to list all the intrinsics, what they do, how to use them, and why they exist. The intrinsics are currently implemented in src/rustc/middle/trans/native.rs.
addr_ofatomic_addatomic_add_acqatomic_add_relatomic_subatomic_sub_acqatomic_sub_relatomic_xchgatomic_xchg_acqatomic_xchg_relforgetframe_addressget_tydescinitmin_align_ofmove_valmove_val_initneeds_droppref_align_ofreinterpret_castsize_ofvisit_ty