oschwald/SublimeLinter-contrib-rustc

Failing on valid 'extern crate mylib;'

Opened this issue · 3 comments

It complains about this line at the top of my file:

extern crate spattools;

It says "Error: can't find external crate spattools"
It's a valid library and cargo/rustc compiles my project just fine. Is there some setting that I am missing?

Do you have use-cargo enabled?

That's what it was. I missed the "linters" section of SublimeLinter's config help, and I missed it in the actual config file too. Not enough sleep I guess.

Sorry for the bogus report.

No problem!