mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 09:36:06 +00:00
Merge #1401
1401: Temp fix for slow onEnter issue r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
84b6610782
@ -6,7 +6,8 @@ use ra_lsp_server::{Result, InitializationOptions};
|
||||
use ra_prof;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
std::env::set_var("RUST_BACKTRACE", "short");
|
||||
// re-enable and verify on windows after #1400
|
||||
// std::env::set_var("RUST_BACKTRACE", "short");
|
||||
let logger = Logger::with_env_or_str("error").duplicate_to_stderr(Duplicate::All);
|
||||
match std::env::var("RA_LOG_DIR") {
|
||||
Ok(ref v) if v == "1" => logger.log_to_file().directory("log").start()?,
|
||||
|
Loading…
Reference in New Issue
Block a user