diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..0c38d57 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] diff --git a/Cargo.toml b/Cargo.toml index ae7da52..093a5e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,11 @@ members = [ "crates/game" ] +[profile.debug-release] +inherits = "release" +opt-level = 2 +debug = true + [workspace.dependencies] anyhow = "1.0.89" ash = "0.38.0"