Module rustc::middle::trans::foreign[src]

Functions

link_name
lltype_for_foreign_fn
llvm_calling_convention
llvm_linkage_by_name
register_foreign_item_fn

Registers a foreign function found in a library. Just adds a LLVM global.

register_rust_fn_with_foreign_abi
register_static
trans_foreign_mod
trans_native_call

Prepares a call to a native function. This requires adapting from the Rust argument passing rules to the native rules.

trans_rust_fn_with_foreign_abi