From ebd6d71e7ef357c310264bf55001498928fb94c7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 10 Jul 2024 23:16:42 +0200 Subject: docs: add warning about linking error on nightly Rust to readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f0b2fd9..e1ca04a 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,14 @@ The convenient dependency injection & inversion of control framework for Rust. +
+ +Currently, This crate does not work on nightly versions of Rust. This is because Nightly +versions uses rust-lld. See [Linkme issue #94](https://github.com/dtolnay/linkme/issues/94). + +A temporary fix for this is to build with `RUSTFLAGS="-C link-args=-znostart-stop-gc"` +
+ ## Namesake From the [syrette Wikipedia article](https://en.wikipedia.org/wiki/Syrette). > A syrette is a device for injecting liquid through a needle. -- cgit v1.2.3-18-g5258