[][src]Module rustc_codegen_ssa::back::link

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Enums

RlibFlavorInternal

Functions

add_local_native_librariesInternal
add_upstream_native_librariesInternal
add_upstream_rust_cratesInternal
archive_search_pathsInternal
are_upstream_rust_objects_already_includedInternal
check_file_is_writeableInternal
default_output_for_targetInternal

Returns default crate type for target

each_linked_rlibInternal
emit_metadataInternal

We use a temp directory here to avoid races between concurrent rustc processes, such as builds in the same directory using the same filename for metadata while building an .rlib (stomping over one another), or writing an .rmeta into a directory being searched for extern crate (observing an incomplete file). The returned path is the temporary file containing the complete metadata.

exec_linkerInternal
filename_for_inputInternal
filename_for_metadataInternal
find_crate_nameInternal
get_crt_libs_pathInternal
get_file_pathInternal
get_linkerInternal
ignored_for_ltoInternal

Returns a boolean indicating whether the specified crate should be ignored during LTO.

invalid_output_for_targetInternal

Checks if target supports crate_type as output

is_picInternal
link_argsInternal
link_binaryInternal

Performs the linkage portion of the compilation phase. This will generate all of the requested outputs for this compilation session.

link_nativelyInternal
link_rlibInternal
link_sanitizer_runtimeInternal
link_staticlibInternal
linker_and_flavorInternal
out_filenameInternal
preserve_objects_for_their_debuginfoInternal

Returns a boolean indicating whether we should preserve the object files on the filesystem for their debug information. This is often useful with split-dwarf like schemes.

print_native_static_libsInternal
relevant_libInternal
removeInternal