hkalbasi
bb85a980e0
Bump chalk
2023-06-30 23:36:47 +03:30
Josh Stone
380773b3e8
Upgrade to indexmap v2
2023-06-24 17:35:20 -07:00
Lukas Wirth
e5c65071bc
Disconnect library crate dependencies from workspace dependencies
2023-06-22 11:50:52 +02:00
Lukas Wirth
0953e85b59
Downgrade some deps to get rif of windows-sys duplication
2023-06-22 11:44:10 +02:00
Lukas Wirth
8823db6c78
Bump more deps
2023-06-22 11:44:10 +02:00
Lukas Wirth
4fa3f1ef5c
Bump serde 2 things
2023-06-22 11:44:10 +02:00
David Lattimore
5c8d1a46b5
Use lib crates from crates.io
...
See lib/README.md for justification
2023-06-21 16:10:17 +10:00
David Tolnay
f57997ef6a
Delete use of proc_macro_span_shrink from proc-macro2
2023-06-20 19:53:06 -04:00
David Lattimore
fb3e54ef05
Release lsp-server 0.7.1
2023-06-20 13:53:39 +10:00
David Lattimore
a0467c546c
Release la-arena 0.3.1
2023-06-20 13:53:39 +10:00
Laurențiu Nicola
9326cf7f0c
Merge commit 'cd3bf9fe51676b520c546460e6d8919b8c8ff99f' into sync-from-ra
2023-06-19 09:14:04 +03:00
Alex Kladov
424ef77809
internal: remove spurious regex dependency
...
- replace tokio's env-filter with a smaller&simpler targets filter
- reshuffle logging infra a bit to make sure there's only a single place
where we read environmental variables
- use anyhow::Result in rust-analyzer binary
2023-06-18 13:59:32 +01:00
hkalbasi
527dfede48
Support Pointee
trait
2023-06-16 16:43:43 +03:30
hkalbasi
e55a1f1916
Map our diagnostics to rustc and clippy's ones
2023-06-15 01:47:22 +03:30
Laurențiu Nicola
08ef169435
Fix dependency warning
2023-06-07 12:34:38 +03:00
Laurențiu Nicola
bbd695589e
Merge commit 'ed87e0a20a9d196a5ea659ea46ae9574be666d4f' into sync-from-ra
2023-06-05 15:10:05 +03:00
Laurențiu Nicola
768a6c5931
Add back sysroot-abi feature gate to rust-analyzer
2023-06-05 14:43:31 +03:00
Laurențiu Nicola
c48062fe2a
Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra
2023-06-05 12:04:23 +03:00
Luna Razzaghipour
2924fd2213
Implement custom QoS-aware thread pool
...
This code replaces the thread pool implementation we were using
previously (from the `threadpool` crate). By making the thread pool
aware of QoS, each job spawned on the thread pool can have a different
QoS class.
This commit also replaces every QoS class used previously with Default
as a temporary measure so that each usage can be chosen deliberately.
2023-05-28 20:37:35 +10:00
Lukas Wirth
35b208aaa7
Filter out unused cargo features from config
2023-05-26 22:16:34 +02:00
Luna Razzaghipour
ca6461c143
Add proof-of-concept QoS implementation
2023-05-20 22:29:32 +10:00
Lukas Wirth
099b5b3b15
internal: Bump rustc_lexer
2023-05-18 10:17:40 +02:00
Ariel Davis
594a41e7bf
Use pre.1, tweak comment
2023-05-06 00:51:25 -07:00
Ariel Davis
4a1922fd1a
Depend on nohash-hasher individually
2023-05-06 00:49:23 -07:00
Ariel Davis
85dd7b22b4
Use nohash_hasher, rm comment
2023-05-06 00:49:23 -07:00
Ariel Davis
7e1992a0d9
Make line-index an external lib
2023-05-06 00:49:23 -07:00
Ariel Davis
29256f22e4
Make non-hash an external lib
2023-05-06 00:49:23 -07:00
Laurențiu Nicola
7197a27028
Use triomphe Arc
2023-05-02 20:02:43 +03:00
Lukas Wirth
c21860bd6a
Remove proc-macro server command from the rust-analyzer binary
2023-04-26 08:19:28 +02:00
Lukas Wirth
10d7d7304b
Revert "Handle dev-dependency cycles"
2023-04-25 14:29:26 +02:00
Lukas Wirth
e205af259d
Prefer test duped crates for ide features
2023-04-25 11:39:58 +02:00
Laurențiu Nicola
160ab88bb9
Bump bitflags
2023-04-17 18:42:59 +03:00
Laurențiu Nicola
840cfd0862
Bump mimalloc
2023-04-17 17:38:47 +03:00
Laurențiu Nicola
8e192b0298
Bump cargo_metadata
2023-04-17 17:26:55 +03:00
Laurențiu Nicola
1737bd628f
Bump proc-macro2
2023-04-17 17:23:09 +03:00
Laurențiu Nicola
966fa604c1
Bump libc
2023-04-17 17:22:07 +03:00
Laurențiu Nicola
3c027fed1b
Bump always-assert
2023-04-17 17:21:02 +03:00
Laurențiu Nicola
ad38c30e65
Bump serde_json
2023-04-17 17:19:48 +03:00
Laurențiu Nicola
ec8f47b44f
Bump crossbeam-channel
2023-04-13 11:07:18 +03:00
Lukas Wirth
1456b53051
Bump smol-str
2023-04-11 14:39:19 +02:00
bors
e3e324d830
Auto merge of #14432 - Veykril:proc-macro-srv, r=lnicola
...
Drop support for non-syroot proc macro ABIs
This makes some bigger changes to how we handle the proc-macro-srv things, for one it is now an empty crate if built without the `sysroot-abi` feature, this simplifies some things dropping the need to put the feature cfg in various places. The cli wrapper now actually depends on the server, instead of being part of the server that is just exported, that way we can have a true dummy server that just errors on each request if no sysroot support was specified.
2023-04-06 08:04:55 +00:00
Lukas Wirth
7f0fbf7f9d
Switch crate graph to use an Arena instead of a hashmap
2023-04-05 10:32:02 +02:00
Lukas Wirth
f1c5cb7e48
Bump smol_str
2023-03-30 17:44:12 +02:00
Lukas Wirth
7498ec730e
Drop support for non-syroot proc macro ABIs
2023-03-29 10:57:32 +02:00
Lukas Wirth
39e86e78c3
Bump Cargo.lock
2023-03-25 15:12:39 +01:00
Laurențiu Nicola
dbf04a5ee2
⬆️ rust-analyzer
2023-03-20 08:31:01 +02:00
Ryo Yoshida
1d1a86f350
Bump chalk to 0.89
2023-03-19 16:45:26 +09:00
Laurențiu Nicola
b2f6fd4f96
⬆️ rust-analyzer
2023-03-13 10:42:24 +02:00
Ryo Yoshida
cf0c8fe000
minor: import Either
from either
2023-02-25 21:55:11 +09:00
Laurențiu Nicola
7e711da2f0
⬆️ rust-analyzer
2023-02-20 10:14:12 +02:00
Lukas Wirth
38144fd914
Bump lsp-types
2023-02-14 14:59:50 +01:00
bors
44568007d1
Auto merge of #14128 - Veykril:parser, r=Veykril
...
internal: Improve parser recovery for delimited lists
Closes https://github.com/rust-lang/rust-analyzer/issues/11188 , https://github.com/rust-lang/rust-analyzer/issues/10410 , https://github.com/rust-lang/rust-analyzer/issues/10173
Should probably be merged after the stable release as this might get the parser stuck if I missed something
2023-02-14 12:59:39 +00:00
Aleksey Kladov
0da27376cf
Support UTF-32 position encoding
...
Looks like this is a native encoding for Emacs at least!
2023-02-14 01:09:50 +00:00
Laurențiu Nicola
bc45c7659a
⬆️ rust-analyzer
2023-02-13 13:55:14 +02:00
Lukas Wirth
1be24e0899
internal: Improve parser recovery a bunch
2023-02-11 20:28:36 +01:00
Lukas Wirth
4788c7a056
Bump rustc-ap-rustc_lexer
2023-02-08 11:42:14 +01:00
hkalbasi
40cf8b45ac
reuse fetching target data layout from rustc function
2023-02-06 23:48:20 +03:30
Laurențiu Nicola
ff340f9c21
Bump zip
2023-02-01 19:24:32 +02:00
Laurențiu Nicola
a9b96e1efa
Bump the rest of the deps
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
7a285e2933
Bump flate2
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
8f678a0169
Bump snap
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
1431264646
Bump rayon
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
c5a182c56b
Bump mimalloc
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
7bbe4c299c
Bump proc-macro2
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
f9598522fb
Bump libloading
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
1165279905
Bump xshell
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
ff0b15cafa
Bump xflags
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
e90b0b6504
Bump quote
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
25a5bd9b13
Bump object
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
11e4baba1a
Bump indexmap
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
452e1e54ef
Bump backtrace
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
f2397638f5
Bump arbitrary and derive-arbitrary
2023-01-21 14:05:22 +02:00
Laurențiu Nicola
ee4710d922
Bump cargo_metadata
2023-01-21 09:35:28 +02:00
Laurențiu Nicola
1dd1f41ef9
Bump typed-arena
2023-01-21 09:33:52 +02:00
Laurențiu Nicola
84c38d0456
Bump scoped-tls
2023-01-21 09:33:36 +02:00
Laurențiu Nicola
047bc6f037
Bump tracing-tree
2023-01-21 09:31:38 +02:00
Laurențiu Nicola
da85d43f02
Bump dissimilar
2023-01-21 08:50:34 +02:00
Laurențiu Nicola
d26c8ccc89
Bump num_cpus
2023-01-21 08:49:50 +02:00
Laurențiu Nicola
392a6ee422
Bump once_cell
2023-01-21 08:48:46 +02:00
Laurențiu Nicola
938aa9d0bc
Bump semver
2023-01-21 08:45:47 +02:00
Laurențiu Nicola
9e63b9ba10
Bump memmap2
2023-01-21 08:44:25 +02:00
Laurențiu Nicola
5691c20bb4
Bump serde and serde_json
2023-01-20 20:57:27 +02:00
Laurențiu Nicola
2901e2803f
Bump anyhow
2023-01-20 20:54:37 +02:00
Niels Sascha Reedijk
8aa1d2d789
Update command-group from 1.0.8 to 2.0.1
...
With #13552 the depencency of on the command-group crate was introduced, which also
introduced a dependency on nix. That version of nix does not build on Haiku. This
change introduces a newer version of command-group, which also updates nix from
0.22.3 to 0.26.1, which is compatible on Haiku.
2023-01-15 08:20:25 +00:00
Lukas Wirth
aafb0f1f8d
Use smallvec for inlay-hint parts
2023-01-13 15:03:37 +01:00
arcnmx
25242fe93f
⬆️ rust-analyzer
...
Merge commit '368e0bb32f1178cf162c2ce5f7e10b7ae211eb26'
2023-01-09 10:36:22 -08:00
Lukas Wirth
68723043db
Split out hir-def attribute handling parts into hir-expand
2023-01-09 19:29:28 +01:00
bors
1bd1a09593
Auto merge of #13876 - lnicola:zip-artifacts, r=lnicola
...
feat: Package Windows release artifacts as ZIP and add symbols file
Closes #13872
Closes #7747
CC #10371
This allows us to ship a format that's easier to handle on Windows. As a bonus, we can also include the PDB, to get useful stack traces. Unfortunately, it adds a couple of dependencies to `xtask`, increasing the debug build times from 1.28 to 1.58 s (release from 1.60s to 2.20s) on my system.
2023-01-07 19:19:37 +00:00
Ryo Yoshida
1bfc732b78
Store diverging flag for type variables as bitflags
2023-01-05 23:10:00 +09:00
Laurențiu Nicola
34bc240e94
Package release artifacts as ZIP
2023-01-01 20:45:08 +02:00
Ryo Yoshida
332dd6ad6e
fix: merge multiple intersecting ranges
2022-12-31 22:08:53 +09:00
Lukas Wirth
8f8200eb14
Simplify
2022-12-21 21:34:01 +01:00
bors
6e8a54d0f6
Auto merge of #13490 - HKalbasi:layout, r=jonas-schievink
...
Compute data layout of types
cc #4091
Things that aren't working:
* Closures
* Generators (so no support for `Future` I think)
* Opaque types
* Type alias and associated types which may need normalization
Things that show wrong result:
* ~Enums with explicit discriminant~
* SIMD types
* ~`NonZero*` and similar standard library items which control layout with special attributes~
At the user level, I didn't put much work, since I wasn't confident about what is the best way to present this information. Currently it shows size and align for ADTs, and size, align, offset for struct fields, in the hover, similar to clangd. I used it some days and I feel I liked it, but we may consider it too noisy and move it to an assist or command.
2022-12-07 15:22:03 +00:00
hkalbasi
05906da0ec
use rustc crates instead of copy paste
2022-12-07 01:59:38 +03:30
Wilco Kusee
fc627e637b
Update to Chalk 88
2022-12-05 17:29:23 +01:00
Wilco Kusee
16bf32fcdd
Update Chalk to version 87
2022-11-29 15:25:09 +01:00
Laurențiu Nicola
a2a1d99545
⬆️ rust-analyzer
2022-11-23 17:24:03 +02:00
Mateusz Mikuła
46417add8d
Update several crates to bring support for the new Tier 3 Windows targets
2022-11-13 22:45:09 +01:00
Lukas Wirth
1dcc25a70a
internal: Use a process group for flycheck
2022-11-05 16:28:04 +01:00
Laurențiu Nicola
c60b1f6414
⬆️ rust-analyzer
2022-11-01 11:31:31 +02:00