fix: remove .cargo/config.toml from git and add to .gitignore

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) <noreply@anthropic.com>
This commit is contained in:
delibae 2026-03-17 17:31:20 +09:00
parent 29d9935812
commit 37ca06db35
2 changed files with 1 additions and 12 deletions

1
.gitignore vendored
View file

@ -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/

View file

@ -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 <harfbuzz/hb.h>.
# 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 }