about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/Cargo.lock
AgeCommit message (Collapse)AuthorLines
2025-01-25Use `strict_provenance`Lukas Wirth-7/+0
2025-01-20Properly record meaningful imports as re-exports in symbol indexLukas Wirth-0/+1
2025-01-20Merge pull request #18981 from Fabian-Gruenbichler/proc-macro-srv-portabilityLaurențiu Nicola-0/+1
proc-macro-srv: make usage of RTLD_DEEPBIND portable
2025-01-20proc-macro-srv: make usage of RTLD_DEEPBIND portableFabian Grünbichler-0/+1
the constant is wrong on some platforms (e.g., on mips64el it's 0x10, and 0x8 is RTLD_NOLOAD which makes all this functionality broken), the libc crate takes care of those differences for us. fallback to not setting the flag in non-glibc environments - some of them might have support for it using a different value that we don't know about, and some of them lack it entirely. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-01-20Bump rustc cratesLaurențiu Nicola-12/+12
2025-01-17Bump windows-sysLaurențiu Nicola-3/+3
2025-01-16update chalkWaffle Lapkin-8/+8
this brings in support from trait upcasting, yay! (and as such fixes a test)
2025-01-14Update `notify` to `8.0.0`Carson M.-24/+30
2025-01-02Store token trees in contiguous `Vec` instead of as a treeChayim Refael Friedman-0/+1
I expected this to be faster (due to less allocations and better cache locality), but benchmarked it is not (neither it is slower). Memory usage, however, drops by ~50mb (of `analysis-stats .`). I guess tt construction is just not hot. This also simplifies using even less memory for token trees by compressing equal span, which I plan to do right after. Some workflows are more easily expressed with a flat tt, while some are better expressed with a tree. With the right helpers, though (which was mostly a matter of trial and error), even the worst workflows become very easy indeed.
2024-12-30Decouple proc-macro server protocol from the server implementationLukas Wirth-1/+0
2024-12-23Bump rustc cratesLaurențiu Nicola-12/+12
2024-12-20internal: Split serde derive feature into `serde_derive` usageLukas Wirth-25/+18
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect. See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
2024-12-18Remove salsa from proc-macro server dep treeLukas Wirth-2/+0
2024-12-11Properly handle different defaults for severity of lintsChayim Refael Friedman-0/+6
Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group.
2024-12-11Bump rustc cratesLaurențiu Nicola-13/+12
2024-12-10Address the feedback from pascalkutheKirill Bulatov-0/+7
* Use Base64 to minify the hash representation in the JSON data * Do hash checks only for items with similar labels
2024-12-09Draft completion hashingKirill Bulatov-0/+8
2024-12-04Lay the foundation for diagnostics in ty lowering, and implement a first ↵Chayim Refael Friedman-0/+4
diagnostic The diagnostic implemented is a simple one (E0109). It serves as a test for the new foundation. This commit only implements diagnostics for type in bodies and body-carrying signatures; the next commit will include diagnostics in the rest of the things. Also fix one weird bug that was detected when implementing this that caused `Fn::(A, B) -> C` (which is a valid, if bizarre, alternative syntax to `Fn(A, B) -> C` to lower incorrectly. And also fix a maybe-bug where parentheses were sneaked into a code string needlessly; this was not detected until now because the parentheses were removed (by the make-AST family API), but with a change in this commit they are now inserted. So fix that too.
2024-11-28Bump rustc cratesLaurențiu Nicola-12/+12
2024-11-16Bump xshellLaurențiu Nicola-4/+4
2024-11-01Bump rustc cratesLaurențiu Nicola-12/+12
2024-10-31Remove support for compressed dylib metadata from rust-analyzerbjorn3-7/+0
2024-10-29Bump rustc cratesLaurențiu Nicola-12/+12
2024-10-28Merge pull request #18420 from ChayimFriedman2/cfg-true-falseLukas Wirth-0/+1
feat: Support `cfg(true)` and `cfg(false)`
2024-10-28Move text-edit into ide-dbLukas Wirth-15/+0
2024-10-27Support `cfg(true)` and `cfg(false)`Chayim Refael Friedman-0/+1
As per RFC 3695.
2024-10-24Bump smol_strLaurențiu Nicola-2/+2
2024-10-22Implement semitransparent hygieneChayim Refael Friedman-0/+1
Or macro_rules hygiene, or mixed site hygiene. In other words, hygiene for variables and labels but not items. The realization that made me implement this was that while "full" hygiene (aka. def site hygiene) is really hard for us to implement, and will likely involve intrusive changes and performance losses, since every `Name` will have to carry hygiene, mixed site hygiene is very local: it applies only to bodies, and we very well can save it in a side map with minor losses. This fixes one diagnostic in r-a that was about `izip!()` using hygiene (yay!) but it introduces a huge number of others, because of #18262. Up until now this issue wasn't a major problem because it only affected few cases, but with hygiene identifiers referred by macros like that are not resolved at all. The next commit will fix that.
2024-10-22Replace some LayoutError variants with the rustc_abi errorsLaurențiu Nicola-13/+13
2024-10-21Update rustc-hash to version 2Noratrieb-24/+30
This brings in the new optimized algorithm that was shown to have small performance benefits for rustc.
2024-10-20Update Cargo.lockChayim Refael Friedman-5/+5
2024-10-18vscode: update some dependenciesDavid Barsky-5/+5
2024-10-17Bump rustc cratesLaurențiu Nicola-12/+12
2024-10-17Bump version of scip crateVarun Gandhi-6/+6
2024-10-16internal: Use local time when formatting logsWilfred Hughes-0/+24
When debugging rust-analyzer and looking at logs, it's much easier to read when the timestamp is in the local timezone. Before: 2024-08-28T20:55:38.792321Z INFO ParseQuery: invoked at R18460 After: 2024-08-28T13:55:38.792321-07:00 INFO ParseQuery: invoked at R18460
2024-09-27Update cc to 1.1.22Chris Denton-2/+11
2024-09-25Bump rustc cratesLaurențiu Nicola-12/+12
2024-09-19Support the `${concat(...)}` metavariable expressionChayim Refael Friedman-0/+1
I didn't follow rustc precisely, because I think it does some things wrongly (or they are FIXME), but I only allowed more code, not less. So we're all fine.
2024-09-06Bump lsp-serverLukas Wirth-6/+6
2024-09-06fix: Don't panic lsp writer thread on dropped receiverLukas Wirth-6/+6
2024-09-04Parse builtin#asm expressionsLukas Wirth-0/+1
2024-09-03Bump smol_strLukas Wirth-3/+19
2024-09-01internal: Lay basic ground work for standalone mbe testsLukas Wirth-0/+1
2024-08-16Auto merge of #17907 - ChayimFriedman2:no-once_cell, r=Veykrilbors-7/+0
internal: Replace once_cell with std's recently stabilized OnceCell/Lock and LazyCell/Lock This doesn't get rid of the once_cell dependency, unfortunately, since we have dependencies that use it, but it's a nice to do cleanup. And when our deps will eventually get rid of once_cell we will get rid of it for free.
2024-08-16Replace once_cell with std's recently stabilized OnceCell/Lock and LazyCell/LockChayim Refael Friedman-7/+0
This doesn't get rid of the once_cell dependency, unfortunately, since we have dependencies that use it, but it's a nice to do cleanup. And when our deps will eventually get rid of once_cell we will get rid of it for free.
2024-08-13Bump `rustc_pattern_analysis`Shoyu Vanilla-13/+12
2024-08-12Auto merge of #17861 - Veykril:bump-lock, r=Veykrilbors-134/+160
minor: Bump lockfile
2024-08-12minor: Bump lockfileLukas Wirth-134/+160
2024-08-09Use Sender instead of boxed closure in vfsmo8it-0/+1
2024-08-08Move flycheck crate into rust-analyzer main crateLukas Wirth-18/+2