bc270834e0
Add .cargo/config.toml to enable native CPU features (AVX2, SSE4.2, etc.) for maximum performance during compilation. This allows rustc and dependencies to use SIMD instructions and other CPU optimizations. This should reduce CPU usage of the DSP backend by allowing: - Vectorized floating-point operations - Better compiler optimizations for complex number math - SIMD acceleration in dependencies like num-complex Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
8 lines
335 B
TOML
8 lines
335 B
TOML
# Enable CPU optimizations for better performance
|
|
# Set target-cpu to native to use all available CPU features on the build machine
|
|
|
|
[build]
|
|
# Use native CPU features (AVX2, SSE4.2, etc.) for maximum performance
|
|
# This enables better vectorization in rustc and dependencies
|
|
rustflags = ["-C", "target-cpu=native", "-C", "opt-level=3"]
|