Open
Description
Sublime Text Version
Sublime Text 3211
Rust Enhanced Version
v2.21.0
Operating system
OS Name Microsoft Windows 10 Pro
Expected behavior
When compiling a library crate built with no_std, it's up to the library to have it's own definition for a panic handler.
I would expect both cargo build and the plugin to recognize this as okay.
Actual behavior
Cargo build works fine, but when I use the plugin it complains about duplicate lang item found, panic_impl, first defined in crate std.
Steps to reproduce
Clone repo here: https://github.com/chris-oo/no_std_repro
It will build with cargo build, but when using RustEnhanced the duplicate lang item found shows up.
References
I noticed the rust RLS issue here (rust-lang/rls#904) possibly related?
Thanks!
Chris