diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..ddff440 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "target-cpu=native"] diff --git a/Cargo.toml b/Cargo.toml index 9bde527..a82bbca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,7 @@ members = [ "beevee", "pathtracer", ] + +[profile.release] +lto = true +codegen-units = 1