aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-07-10 23:16:42 +0200
committerHampusM <hampus@hampusmat.com>2024-07-11 19:55:52 +0200
commitebd6d71e7ef357c310264bf55001498928fb94c7 (patch)
tree38f4217543cfa4496dd8f99f72594c10a59363f9
parentac064cecd8bfb4be86799de4d7b26edc311fbd91 (diff)
docs: add warning about linking error on nightly Rust to readme
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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.
+<div class="warning">
+
+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"`
+</div>
+
## Namesake
From the [syrette Wikipedia article](https://en.wikipedia.org/wiki/Syrette).
> A syrette is a device for injecting liquid through a needle.