mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Move proc-macro-srv RUSTC_VERSION fetching from include to env var
This commit is contained in:
parent
21a3d01875
commit
23b043a622
2 changed files with 3 additions and 16 deletions
|
@ -48,8 +48,7 @@ use span::Span;
|
|||
|
||||
use crate::server::TokenStream;
|
||||
|
||||
// see `build.rs`
|
||||
include!(concat!(env!("OUT_DIR"), "/rustc_version.rs"));
|
||||
pub const RUSTC_VERSION_STRING: &str = env!("RUSTC_VERSION");
|
||||
|
||||
trait ProcMacroSrvSpan: Copy {
|
||||
type Server: proc_macro::bridge::server::Server<TokenStream = TokenStream<Self>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue