# This crate builds for the host, not the ESP32. # # It sits inside the firmware's directory tree, so cargo walks up and inherits # ../.cargo/config.toml, which pins `target = "xtensa-esp32s3-espidf"` and an # ldproxy linker that only work inside the ESP-IDF cross build. Without this file # the desktop client is cross-compiled for Xtensa, which fails deep inside # dependencies (libc not finding MAP_FAILED and friends, because it was being # compiled for an embedded target that has no mmap). # # Overriding the target back to the host triple is the whole fix. Nothing else in # the parent config applies to a non-ESP target. [build] target = "aarch64-apple-darwin"