From c439a5e006ca21a07e1496fa6d9594494a58af51 Mon Sep 17 00:00:00 2001 From: 0xaatif Date: Wed, 25 Sep 2024 22:25:29 +0200 Subject: [PATCH] refactor: rustflags = -Clink-args=-znostart-stop-gc --- .cargo/config.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 6340ce34a..e76d6e6bb 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,3 @@ [build] -# https://github.com/rust-lang/rust/pull/124129 -# https://github.com/dtolnay/linkme/pull/88 -rustflags = ["-Z", "linker-features=-lld"] +# https://github.com/dtolnay/linkme/issues/94 +rustflags = ["-C", "link-args=-znostart-stop-gc"]