Skip to content

Commit

Permalink
Auto merge of rust-lang#122272 - lnicola:sync-from-ra, r=lnicola
Browse files Browse the repository at this point in the history
Subtree update of `rust-analyzer`

r? ghost
  • Loading branch information
bors committed Mar 10, 2024
2 parents cdb775c + b4e3b2e commit 9bd88ef
Show file tree
Hide file tree
Showing 188 changed files with 4,710 additions and 2,348 deletions.
1 change: 1 addition & 0 deletions src/tools/rust-analyzer/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ xtask = "run --package xtask --bin xtask --"
tq = "test -- -q"
qt = "tq"
lint = "clippy --all-targets -- --cap-lints warn"
codegen = "run --package xtask --bin xtask -- codegen"

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
Expand Down
3 changes: 3 additions & 0 deletions src/tools/rust-analyzer/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sed -i '/\[profile.dev]/a opt-level=1' Cargo.toml

- name: Codegen checks (rust-analyzer)
run: cargo codegen --check

- name: Compile (tests)
run: cargo test --no-run --locked ${{ env.USE_SYSROOT_ABI }}

Expand Down
1 change: 0 additions & 1 deletion src/tools/rust-analyzer/.typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ extend-exclude = [
"crates/parser/test_data/lexer/err/",
"crates/project-model/test_data/",
]
ignore-hidden = false

[default]
extend-ignore-re = [
Expand Down
Loading

0 comments on commit 9bd88ef

Please sign in to comment.