mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
Merge #490
490: dont depend on tools from lsp-server r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
b6bc55f542
@ -8,6 +8,7 @@ build: &rust_build
|
|||||||
language: rust
|
language: rust
|
||||||
rust: 1.31.1
|
rust: 1.31.1
|
||||||
script:
|
script:
|
||||||
|
- rustup component add rustfmt
|
||||||
- cargo gen-tests --verify
|
- cargo gen-tests --verify
|
||||||
- cargo gen-syntax --verify
|
- cargo gen-syntax --verify
|
||||||
- cargo test --no-run # let's measure compile time separately
|
- cargo test --no-run # let's measure compile time separately
|
||||||
|
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -749,7 +749,6 @@ dependencies = [
|
|||||||
"text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"thread_worker 0.1.0",
|
"thread_worker 0.1.0",
|
||||||
"threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tools 0.1.0",
|
|
||||||
"url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
@ -37,4 +37,3 @@ ra_vfs = { path = "../ra_vfs" }
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
test_utils = { path = "../test_utils" }
|
test_utils = { path = "../test_utils" }
|
||||||
tools = { path = "../tools" }
|
|
||||||
|
@ -125,8 +125,6 @@ fn test_eggs() {}
|
|||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
#[test]
|
#[test]
|
||||||
fn test_format_document() {
|
fn test_format_document() {
|
||||||
tools::install_rustfmt().unwrap();
|
|
||||||
|
|
||||||
let server = project(
|
let server = project(
|
||||||
r#"
|
r#"
|
||||||
[package]
|
[package]
|
||||||
|
Loading…
Reference in New Issue
Block a user