diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ac2b23f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] diff --git a/Cargo.toml b/Cargo.toml index 2a076a6..41988d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,6 @@ features = ["advanced", "svg", "tokio", "wgpu"] [profile.release] strip = true -opt-level = "z" +opt-level = 3 lto = true codegen-units = 1