--- sidebar_label: Platform support --- # Platform Support ## Target Triples DCR normalizes target triples. Short platform names are expanded to full triples. ### Linux ``` target/-unknown-linux-// ``` Architectures: `x86_64`, `aarch64`, `i686`, `armv7`, `riscv64` (host-detected). Environments: `gnu` (default), `musl`. Artifact type: ELF. Extensions: `.so` (sharedlib), `.a` (staticlib). ### macOS ``` target// (default) or target/// (with target) ``` Architectures: `x86_64`, `aarch64` (host-detected). Extensions: `.dylib` (sharedlib), `.a` (staticlib). ### Windows ``` target// (default) or target/// (with target) ``` Architectures: `x86_64`, `aarch64`. Environments: `msvc` (default), `gnu` (MinGW). Extensions: `.exe` (bin), `.lib` (staticlib), `.dll` (sharedlib), `.efi` (UEFI). ### BSD ``` target/-unknown-// ``` Supported systems: `freebsd`, `openbsd`, `netbsd`, `dragonfly`. ## Host Detection DCR uses `std::env::consts::ARCH` and `std::env::consts::OS` for host platform detection. Used as fallback when `target` is not specified.