From 37ca06db3567c357d3c5b6fc6ab1e7b8d45ea2a3 Mon Sep 17 00:00:00 2001 From: delibae Date: Tue, 17 Mar 2026 17:31:20 +0900 Subject: [PATCH] fix: remove .cargo/config.toml from git and add to .gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This file hardcodes /opt/homebrew paths (Apple Silicon only) for local development. It should not be tracked — each developer sets up their own local paths. Added to .gitignore to prevent re-committing. Relates to #77 (crash on start due to dynamically linked ICU). Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 1 + apps/desktop/src-tauri/.cargo/config.toml | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 apps/desktop/src-tauri/.cargo/config.toml diff --git a/.gitignore b/.gitignore index 475641b..11669f6 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ tsconfig.tsbuildinfo # Rust Cargo.lock +apps/desktop/src-tauri/.cargo/config.toml # Tauri auto-generated schemas apps/desktop/src-tauri/gen/schemas/ diff --git a/apps/desktop/src-tauri/.cargo/config.toml b/apps/desktop/src-tauri/.cargo/config.toml deleted file mode 100644 index 9aa8b66..0000000 --- a/apps/desktop/src-tauri/.cargo/config.toml +++ /dev/null @@ -1,12 +0,0 @@ -# Tectonic build configuration for local macOS development (Homebrew). -# ICU is keg-only in Homebrew, so pkg-config can't find it without this path. -# HarfBuzz headers need the parent include directory for #include . -# ICU 78+ requires C++17. -# On Linux, system packages are in standard paths — these extra paths are harmless. -# -# CI overrides: force=false means CI env vars (TECTONIC_DEP_BACKEND=vcpkg, -# VCPKG_ROOT, CXXFLAGS, CFLAGS) take precedence over these defaults. -[env] -PKG_CONFIG_PATH = { value = "/opt/homebrew/opt/icu4c/lib/pkgconfig", force = false } -CXXFLAGS = { value = "-I/opt/homebrew/include -std=c++17", force = false } -CFLAGS = { value = "-I/opt/homebrew/include", force = false }