# Build directories
build*/
cmake-build-*/
out/
*.dir/

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Compiled files
*.o
*.obj
*.a
*.lib
*.so
*.dylib
*.dll
*.exe

# CMake
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
CTestTestfile.cmake
Testing/
DartConfiguration.tcl
compile_commands.json
*.cmake
!cmake/*.cmake

# Test outputs
*.log
*.txt.user
benchmark-results/

# Python
__pycache__/
*.py[cod]
*$py.class
.Python
venv/
env/
.venv/
*.egg-info/

# Profiling
*.profraw
*.profdata
callgrind.out.*
perf.data*

# Generated files
*.generated.*
*_generated.*

# Platform specific
Thumbs.txt
ehthumbs.db

# CUDA
*.cubin
*.ptx
*.fatbin

# Backup files
*.bak
*.backup
*~

# Package files
*.tar.gz
*.zip
*.7z

# Documentation build
docs/_build/
docs/.buildinfo

# Build/test output logs
*_output.txt
*_out.txt
stm32_output.txt

# Benchmark output files (machine-specific)
benchmark-*.txt

# Binary cache
cache_w*.bin

# ESP32 SDK config (machine-specific)
examples/esp32_test/sdkconfig

# Android Gradle cache
android/example/.gradle/

# Bindings build artifacts
bindings/c_api/build/
bindings/rust/target/
bindings/rust/*/target/
bindings/rust/Cargo.lock
bindings/dart/.dart_tool/
bindings/swift/.build/
bindings/nodejs/node_modules/
bindings/nodejs/package-lock.json
bindings/ruby/*.gem
bindings/csharp/**/bin/
bindings/csharp/**/obj/

# Example build artifacts
examples/c_example/example
examples/nodejs_example/node_modules/
examples/nodejs_example/package-lock.json
examples/rust_example/target/
examples/java_example/*.class

# Removed submodule (bitcoin-core/secp256k1 reference copy)
cpu/secp256k1/


# Local working documents (not for repo)
INDUSTRIAL_ROADMAP_WORKING.md

# Local scratch/debug files (never commit)
_*.py
_*.cpp
_*.txt
_cfl_artifacts/
alerts_dump.txt
all_alerts*.tsv
ci_log.txt
bench_asm_inline.cpp
bench_inv.cpp
bench3*.txt
bench_pf*.txt
bench_result.txt
audit_full_dump*.txt
local-ci-output/
test_asm_check.*
test_inline_check.*
test_half.*
test_half2.*
point_asm.s
dudect_err.txt
dudect_out.txt
build_ci_output.txt
STACKER_NEWS_POST.md
*.pdb

# Build output logs committed by accident
audit/audit_results.txt
audit/test_ct_sidechannel_results.txt

# ESP32 build artifacts and logs
tests/esp32_audit/build*/
tests/esp32_audit/*.txt
tests/esp32_audit/sdkconfig.old
examples/esp32_bench_hornet/build/
examples/esp32_test/capture_bench.py

# Android build artifacts
android/build-*/

# Git bundle artifacts (binary, never commit)
*.bundle

.project_graph.db

# Audit output directories (generated by CI, machine-specific)
audit-output-*/

# Source graph database (rebuilt on demand, not portable)
tools/source_graph_kit/source_graph.db
