Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# SPDX-FileCopyrightText: 2026 Stan Grams <sjg@haxx.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user