Stream: t-compiler/wg-rls-2.0

Topic: `cfg_attr` and `path`


rpjohnst (Jun 28 2020 at 17:38, on Zulip):

I'm seeing RA give an "unresolved module" error on something like #[cfg_attr(windows, path = "win32.rs")] mod platform;. Is that something I could make work with the right configuration, or an unimplemented feature? It does seem like RA does know about cfg(windows) in general from invoking rustc --print cfg.

Jonas Schievink (Jun 28 2020 at 17:39, on Zulip):

cfg_attr is mostly (entirely?) unimplemented at the moment

rpjohnst (Jun 28 2020 at 17:40, on Zulip):

Thanks- do you know of a tracking issue for cfg_attr? I couldn't find one

Jonas Schievink (Jun 28 2020 at 17:41, on Zulip):

I don't think there is one, but there's lots of FIXMEs in the code

Last update: Sep 27 2020 at 14:45UTC