rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
13.88k stars 1.54k forks source link

Non-default feature turned on in druid #9590

Open lnicola opened 3 years ago

lnicola commented 3 years ago

Even with "rust-analyzer.cargo.allFeatures": false, in https://github.com/linebender/druid/blob/4d29ce81f4d28018042cb33793984c90d142bdf6/druid-shell/src/backend/mod.rs we turn on the x11 backend and thus disable gtk. This happens even though x11 isn't enabled by default, while gtk is.

jonas-schievink commented 3 years ago

Does anything in the workspace turn on the x11 feature? If so, this is the same issue that's plaguing nrf-hal

lnicola commented 3 years ago

Oops, yeah, there's a dev-dependency on it. I tried to remove it, but we might still need to restart the server.