# teamspeach-core — build targets on the Windows x64 host (2026-10-24) | Target | Status | Evidence | |---|---|---| | x86_64-pc-windows-msvc | built, tested (33 unit + 3 stdio smoke), live-verified | `core/target/release/teamspeach-core.exe`, see `core-runtime.md` | | x86_64-unknown-linux-gnu | CI (Gitea, Debian bookworm) | run #1 compiled; 1 unit test failed because the commit captured a mid-edit tree; rerun pending | | aarch64-unknown-linux-gnu | CI cross build compiled | per desktop CI log: all PT_LOAD `p_align` 65536, offset ≡ vaddr mod 16 KiB, needs GLIBC_2.34; not executed | | aarch64-pc-windows-msvc | **not buildable here** | see below | | macOS (x86_64/aarch64-apple-darwin) | **not buildable here** | no Apple SDK, `xcrun` or `clang` on this host | ## Windows ARM64: what is present and what is missing - VS 18 Community, MSVC 14.51.36231: - `bin/Hostx64/` has only `x64` and `x86`, so there is no x64→ARM64 cross `cl.exe`/`link.exe`. - `bin/HostArm64/arm64/` holds only ASan DLL/PDB files (and ARM64-host tools could not run on x64 anyway). - `lib/arm64/` has only `clang_rt.*-aarch64.lib` (ASan, fuzzer, profile, ubsan, builtins). No `msvcrt.lib`, `vcruntime.lib`, `libcmt.lib` or `oldnames.lib`. - VS LLVM folder: `clang-format`/`clang-tidy` only; no `clang-cl`/`lld-link`. - VS 2022 Community / BuildTools (MSVC 14.44): no arm64 directories. - Windows SDK 10.0.26100: `um/arm64` and `ucrt/arm64` import libraries are present. - Missing: the VS component "MSVC Build Tools for ARM64/ARM64EC" (`Microsoft.VisualStudio.Component.VC.Tools.ARM64`). It provides the cross compiler (needed for the bundled libopus CMake build) and the ARM64 CRT. Not installed: this needs user approval. - After the component is installed: `rustup target add aarch64-pc-windows-msvc`, then `cargo build --release --locked -j 2 --target aarch64-pc-windows-msvc --manifest-path core/Cargo.toml` → `core/target/aarch64-pc-windows-msvc/release/teamspeach-core.exe`. Check PE Machine `0xAA64`. That is a compile-only result; the binary cannot be run on this x64 host. ## macOS Needs a macOS runner with Xcode or the Command Line Tools. The SDK is not taken from unofficial sources. ## Windows x64 C runtime dependency (`dumpbin /dependents`) - Before (dynamic CRT; release exe, byte-identical to `dist/win-unpacked/resources/core/`): kernel32, advapi32, oleaut32, ntdll, ws2_32, IPHLPAPI, bcrypt, bcryptprimitives, api-ms-win-core-synch-l1-2-0, `api-ms-win-crt-*` (UCRT) and **VCRUNTIME140.dll**. VCRUNTIME140 does not ship with Windows and was not in the package. It only worked where some VC++ redistributable was already installed. - Fix: `.cargo/config.toml` (repository root) sets `[target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"]`. The libopus CMake build then gets `CMAKE_C_FLAGS_RELEASE= -nologo -MT …`, and `dumpbin /directives opus.lib` shows only `DEFAULTLIB:LIBCMT` and `OLDNAMES` (static CRT, the same CRT as Rust). - After: kernel32, advapi32, oleaut32, ntdll, ws2_32, IPHLPAPI, bcrypt, bcryptprimitives, api-ms-win-core-synch-l1-2-0. All of these are system DLLs; no VCRUNTIME/MSVCP and no `api-ms-win-crt-*` imports. Release exe built from the repo root with `cargo build --release --locked -j 2 --manifest-path core/Cargo.toml` (config applied): 8982016 bytes, SHA256 `71add460666b4d508742731f23a5ff8c9a96b783647484267e971ac8a595aec0`. Root `cargo test --locked --manifest-path core/Cargo.toml`: 33 + 3 pass. - Verified: `cargo test` 33 unit + 3 stdio smoke pass. The release exe ran a stdio session on this development machine (profile_create → rename → shutdown, exit 0). Not verified: running on a clean Windows install without Visual Studio. The import table is the evidence for that case. - Linux targets and Windows ARM64 are unchanged (no speculative ARM64 config).