Re-exportsยง
use std::ffi::OsString;๐use std::path::PathBuf;๐use std::process::Command;๐use itertools::Itertools;๐use rustc_errors::msg;๐use rustc_middle::middle::exported_symbols::SymbolExportKind;๐use rustc_session::Session;๐use rustc_target::spec::Arch;๐use rustc_target::spec::Env;๐use rustc_target::spec::Os;๐use rustc_target::spec::Target;๐use tracing::debug;๐use crate::diagnostics::XcrunError;๐use crate::diagnostics::XcrunSdkPathWarning;๐
Structsยง
- OSVersion ๐
- Deployment target or SDK version.
Functionsยง
- add_
data_ ๐and_ relocation - Add relocation and section data needed for a symbol to be considered undefined by ld64.
- add_
version_ ๐to_ llvm_ target - get_
sdk_ ๐root - macho_
platform ๐ - sdk_
name ๐ - The canonical name of the desired SDK for a given target.
- stdout_
to_ ๐path - xcode_
select_ ๐developer_ dir - Invoke
xcode-select --print-path, and return the current developer directory. - xcrun_
show_ ๐sdk_ path - Invoke
xcrun --sdk $sdk_name --show-sdk-pathto get the SDK path.