Re-exportsΒ§
use std::borrow::Cow;πuse std::collections::VecDeque;πuse std::ffi::CStr;πuse std::ffi::CString;πuse std::fmt::Write;πuse std::path::Path;πuse std::sync::Once;πuse std::ptr;πuse std::slice;πuse std::str;πuse libc::c_int;πuse rustc_abi::Endian;πuse rustc_codegen_ssa::back::versioned_llvm_target;πuse rustc_codegen_ssa::base::wants_wasm_eh;πuse rustc_codegen_ssa::target_features::internal_target_features;πuse rustc_codegen_ssa::TargetConfig;πuse rustc_codegen_ssa::target_features;πuse rustc_data_structures::fx::FxHashSet;πuse rustc_data_structures::small_c_str::SmallCStr;πuse rustc_fs_util::path_to_c_string;πuse rustc_session::config::NATIVE_CPU;πuse rustc_session::config::PrintKind;πuse rustc_session::config::PrintRequest;πuse rustc_session::EarlySession;πuse rustc_session::Session;πuse rustc_span::bug;πuse rustc_span::sym;πuse rustc_target::spec::Arch;πuse rustc_target::spec::CfgAbi;πuse rustc_target::spec::Env;πuse rustc_target::spec::MergeFunctions;πuse rustc_target::spec::Os;πuse rustc_target::spec::PanicStrategy;πuse rustc_target::spec::SmallDataThresholdSupport;πuse rustc_target::spec::Target;πuse smallvec::SmallVec;πuse smallvec::smallvec;πuse crate::back::owned_mc_subtarget_info::OwnedMCSubtargetInfo;πuse crate::back::write::create_informational_target_machine;πuse crate::back::write::llvm_err;πuse crate::diagnostics;πuse crate::llvm;π
StructsΒ§
- LLVM
Feature π
EnumsΒ§
StaticsΒ§
- INIT π
FunctionsΒ§
- configure_
llvm π β - get_
host_ πcpu_ name - Returns the host CPU name, according to LLVM.
- get_
version π - Returns the version of LLVM that we are actually linked to at runtime.
- global_
llvm_ πfeatures - The list of LLVM features computed from CLI flags (
-Ctarget-cpu,-Ctarget-feature,--targetand similar). - handle_
native π - If the given string is
"native", returns the host CPU name according to LLVM. Otherwise, the string is returned as-is. - init π
- llvm_
features_ πby_ flags - The target features for compiler flags other than
-Ctarget-features. - llvm_
target π - The LLVM target triple to use for the sessionβs target.
- llvm_
target_ πfeatures - print π
- print_
passes π - print_
target_ πcpus - print_
target_ πfeatures - print_
version π - require_
inited π - target_
config π - Used to generate cfg variables and apply features. Must express features in the way Rust understands them.
- target_
cpu π - target_
has_ πmnemonic - time_
trace_ πprofiler_ finish - to_
llvm_ πfeatures - Convert a Rust feature name to an LLVM feature name. Returning
Nonemeans the feature should be skipped, usually because it is not supported by the current LLVM version. - tune_
cpu π - update_
target_ πreliable_ float_ cfg - Determine whether or not experimental float types are reliable based on known bugs.