mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 18:58:41 +00:00
Re-enable proc-macros
This commit is contained in:
parent
98cfdde8ba
commit
b98597f06d
24 changed files with 787 additions and 493 deletions
|
@ -18,14 +18,12 @@ fn main() -> std::io::Result<()> {
|
|||
run()
|
||||
}
|
||||
|
||||
#[cfg(not(FALSE))]
|
||||
#[cfg(not(feature = "sysroot-abi"))]
|
||||
#[cfg(not(any(feature = "sysroot-abi", rust_analyzer)))]
|
||||
fn run() -> io::Result<()> {
|
||||
panic!("proc-macro-srv-cli requires the `sysroot-abi` feature to be enabled");
|
||||
}
|
||||
|
||||
#[cfg(FALSE)]
|
||||
#[cfg(feature = "sysroot-abi")]
|
||||
#[cfg(any(feature = "sysroot-abi", rust_analyzer))]
|
||||
fn run() -> io::Result<()> {
|
||||
use proc_macro_api::msg::{self, Message};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue