Expand description
ยงxcargo ๐
Cross-compilation made simple
xcargo is a Rust cross-compilation tool that simplifies building for multiple targets through automatic toolchain management and intelligent container usage.
ยงQuick Start
โ
use xcargo::Target;
// Detect available targets
let targets = Target::detect_installed()?;
// Build for a specific target
xcargo build --target x86_64-pc-windows-gnuRe-exportsยง
Modulesยง
- build
- Build orchestration Build execution and management
- config
- Configuration file handling Configuration file handling for xcargo
- container
- Container runtime integration Container runtime (youki, docker, podman)
- deps
- Dependency management (OpenSSL, etc.) Native dependency handling
- error
- Error types Error definitions
- output
- Output and logging User-facing output formatting and helpful messages
- prelude
- Prelude for convenient imports Convenient re-exports
- target
- Target platform definitions and detection Target platform definitions and detection
- toolchain
- Toolchain installation and management Toolchain detection and management