[][src]Module rustc_codegen_llvm::back::link

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Enums

RlibFlavor [
Experimental
]

Functions

add_local_native_libraries [
Experimental
]
add_upstream_native_libraries [
Experimental
]
add_upstream_rust_crates [
Experimental
]
archive_config [
Experimental
]
archive_search_paths [
Experimental
]
are_upstream_rust_objects_already_included [
Experimental
]
check_file_is_writeable [
Experimental
]
default_output_for_target [
Experimental
]

Returns default crate type for target

each_linked_rlib [
Experimental
]
emit_metadata [
Experimental
]

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_linker [
Experimental
]
filename_for_input [
Experimental
]
filename_for_metadata [
Experimental
]
find_crate_name [
Experimental
]
get_linker [
Experimental
]
ignored_for_lto [
Experimental
]

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

invalid_output_for_target [
Experimental
]

Checks if target supports crate_type as output

link_args [
Experimental
]
link_binary [
Experimental
]

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

link_binary_output [
Experimental
]
link_natively [
Experimental
]
link_rlib [
Experimental
]
link_staticlib [
Experimental
]
linker_and_flavor [
Experimental
]
out_filename [
Experimental
]
preserve_objects_for_their_debuginfo [
Experimental
]

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_libs [
Experimental
]
relevant_lib [
Experimental
]
remove [
Experimental
]