diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..984714c --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ + +[target.x86_64-unknown-linux-gnu] +# linker = "/usr/bin/clang-15" +rustflags = ["-C", "link-arg=--ld-path=/home/dan/.nix-profile/bin/mold"] +# rustflags = ["-C", "link-arg=-fuse-ld=/home/dan/.nix-profile/bin/mold"] \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index b985823..0d59e3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,3 +27,7 @@ librespot-protocol = { git = "https://github.com/photovoltex/librespot.git", bra futures-util = { version = "0.3", features = ["alloc", "bilock", "sink", "unstable"] } rspotify = { version = "0.13.3" } oauth2 = "4.4" + +[profile.dev] +debug = 0 +strip = "debuginfo"