Skip to main content

Crate crossbuild_core

Crate crossbuild_core 

Source
Expand description

Core planning and execution engine for cargo-crossbuild.

Re-exports§

pub use cache::CacheManager;
pub use cache::CachePolicy;
pub use cargo_config::create_cross_config;
pub use cargo_config::merge_cargo_configs;
pub use cargo_config::CargoConfigGenerator;
pub use config::CrossBuildConfig;
pub use diagnostics::Diagnostic;
pub use diagnostics::DiagnosticSink;
pub use diagnostics::Severity;
pub use diagnostics::StderrDiagnosticSink;
pub use downloader::ChecksumAlgorithm;
pub use downloader::DownloadRequest;
pub use downloader::DownloadResult;
pub use downloader::Downloader;
pub use error::CrossBuildError;
pub use model::Abi;
pub use model::Architecture;
pub use model::BuildPlan;
pub use model::BuildRequest;
pub use model::CommandLine;
pub use model::Endianness;
pub use model::ExecutionMode;
pub use model::ExecutionReport;
pub use model::HostDetectError;
pub use model::HostInfo;
pub use model::LinkerHint;
pub use model::OperatingSystem;
pub use model::PlanStep;
pub use model::Profile;
pub use model::ProviderAction;
pub use model::RunReport;
pub use model::StandardValidations;
pub use model::SysrootHint;
pub use model::TargetFamily;
pub use model::TargetInfo;
pub use model::TargetParseError;
pub use model::TargetSupport;
pub use model::TargetTriple;
pub use model::ToolchainHint;
pub use model::ValidationPlan;
pub use model::Vendor;
pub use model::WrapperPlan;
pub use planner::Planner;
pub use platform::assess_target;
pub use platform::detect_host;
pub use platform::CapabilityMatrix;
pub use platform::KnownTargets;
pub use platform::rustup_target_available;
pub use provider::LinkerFlavor;
pub use provider::LinkerProvider;
pub use provider::LinkerResolution;
pub use provider::SysrootProvider;
pub use provider::SysrootResolution;
pub use provider::ToolchainProvider;
pub use provider::ToolchainResolution;
pub use provider::BuiltinToolchainProvider;
pub use provider::RustupToolchainProvider;
pub use provider::ZigToolchainProvider;
pub use provider::NoSysrootProvider;
pub use provider::RustupSysrootProvider;
pub use provider::ZigSysrootProvider;

Modules§

cache
Cache management for cross-build artifacts, downloads, and sysroots.
cargo_config
Cargo configuration generation for cross-compilation.
config
Configuration loading from environment and workspace defaults.
diagnostics
Diagnostics system for crossbuild.
downloader
Secure downloader with checksum verification.
error
Error types for cargo-crossbuild.
model
planner
platform
Host and target platform detection, capability assessment, and toolchain routing.
provider
Provider implementations for toolchain, sysroot, and linker resolution.
registry