diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ddff440 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "target-cpu=native"] diff --git a/Cargo.toml b/Cargo.toml index 0008750..cd01eb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,3 +45,6 @@ opt-level = 3 [profile.release] opt-level = 3 +lto = "fat" +codegen-units = 1 +# panic = "abort" # You can enable this, but I prefer to get actual stack traces