Initial commit: rust-scribe transcription tool

This commit is contained in:
2026-03-11 11:08:16 +08:00
commit f9653eef58
11 changed files with 1869 additions and 0 deletions

21
.cargo/config.toml.bak Normal file
View File

@@ -0,0 +1,21 @@
[target.aarch64-apple-darwin]
rustflags = [
"-L", "/opt/homebrew/lib",
"-l", "c++",
# 新增:連結 Metal 相關框架 (解決 Undefined symbols 錯誤)
"-framework", "Metal",
"-framework", "Foundation",
"-framework", "QuartzCore",
"-framework", "CoreGraphics"
]
# 如果是 Intel Mac取消下面註解並使用
# [target.x86_64-apple-darwin]
# rustflags = [
# "-L", "/usr/local/lib",
# "-l", "c++",
# "-framework", "Metal",
# "-framework", "Foundation",
# "-framework", "QuartzCore",
# "-framework", "CoreGraphics"
# ]