Closed vstojkovic closed 2 years ago
The above code works for me with RUSTFLAGS='-Clink-dead-code' cargo run
. I'll go ahead and close but if someone discovers any issue here related to the paste crate then I would be prepared to consider a PR. This crate itself is not doing anything platform specific.
When I try to build code that uses
paste
and myRUSTFLAGS
is contains the-Clink-dead-code
, the compiler complains that it can't find thepaste
crate.Minimal reproducible example:
This works fine without
-Clink-dead-code
but fails with it.I'm using Rust on Windows. I haven't tried this on a different OS.