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"]