diff --git a/.cargo/config.toml b/.cargo/config.toml index 115192e..ac2b23f 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,2 @@ [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] - -[target.x86_64-unknown-linux-gnu] -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=mold"] diff --git a/Cargo.toml b/Cargo.toml index dc653f4..47c96a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ win32console = "^0.1.5" [profile.release] lto = "thin" +opt-level = 2 codegen-units = 4 [profile.opt]