Skip to main content

Module apple

Module apple 

Source

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-path to get the SDK path.