diff options
author | HampusM <hampus@hampusmat.com> | 2024-07-10 23:16:42 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-07-11 19:55:52 +0200 |
commit | ebd6d71e7ef357c310264bf55001498928fb94c7 (patch) | |
tree | 38f4217543cfa4496dd8f99f72594c10a59363f9 | |
parent | ac064cecd8bfb4be86799de4d7b26edc311fbd91 (diff) |
docs: add warning about linking error on nightly Rust to readme
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |