Proc-macro does not work with com crate

Should the proc_macro support work?

I just get "unresolved" import. My test is here: rust-analyzer-com-rs-failure/main.rs at master · Ciantic/rust-analyzer-com-rs-failure · GitHub

It compiles just fine with cargo build but it seems as if the proc_macros doesn't work at all in VSCode.

I have this in my project setup:

{
    "rust-analyzer.procMacro.enable": true,
    "rust-analyzer.updates.channel": "nightly",
    "rust-analyzer.cargo.loadOutDirsFromCheck": true
}

You also need "rust-analyzer.cargo.loadOutDirsFromCheck": true for rust-analyzer to be able to find the compiled proc-macro.

I added that also. Didn't help, thanks though. Would love to figure out this.

Looks like something broke in the rust-analyzer before 2020-10-05, see my bug report in here: Rust Analyzer can't recognize the IUnknown · Issue #195 · microsoft/com-rs · GitHub