Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7e0bd37
fix: don't replace default members' body
lowr Jul 20, 2022
aeb0774
Spawn a proc-macro-srv instance per workspace
Veykril Jul 23, 2022
50b27e5
Better error messages when the proc-macro-server fails to start
Veykril Jul 23, 2022
fb063d3
Add `ellipsis` to HIR `RecordLit`
lowr Jul 22, 2022
5f3f428
Don't run slow tests in Rust CI, only RA CI
fasterthanlime Jul 22, 2022
0bffdf2
Disable all source-gen tests at compile time
fasterthanlime Jul 23, 2022
b351e11
Move cfg attrs up to the mod definitions to disable sourcegen
fasterthanlime Jul 23, 2022
20eb2dd
Small fixups
jyn514 Jul 23, 2022
74998e4
Fix .gitattributes for test_data
fasterthanlime Jul 24, 2022
894d6a2
Auto merge of #12832 - lowr:fix/impl-default-members-no-codegen, r=Ve…
bors Jul 24, 2022
64758bd
Add info whether it's assignee expr to relevant HIR `Expr` variants
lowr Jul 24, 2022
805ac66
fix: consider assignee expressions in record fields exhaustiveness check
lowr Jul 24, 2022
ff31785
hir-def tests: sort results before comparing, since FxHashSet iterati…
fasterthanlime Jul 24, 2022
537cc1e
Auto merge of #12863 - lowr:fix/missing-fields-on-destructuring-assig…
bors Jul 24, 2022
d8c0d88
Sort in DefMap::dump, since HashMap iteration order isn't defined
fasterthanlime Jul 24, 2022
77acb5c
fix: Autocomplete for struct fields includes receiver
DorianListens Jul 24, 2022
56c369d
Sort when iterating through CrateGraph
fasterthanlime Jul 24, 2022
7e2b983
Auto merge of #12861 - DorianListens:dscheidt/complete-field, r=Doria…
bors Jul 24, 2022
dfe8449
Make macros test order-resistant
fasterthanlime Jul 24, 2022
71225c3
Replace `debug_assert!` with `stdx::always!`
lowr Jul 25, 2022
c7788ad
Auto merge of #12868 - lowr:follow-up-on-12832, r=lnicola
bors Jul 25, 2022
ac86b8e
Auto merge of #12856 - Veykril:multi-proc-srv, r=Veykril
bors Jul 25, 2022
0d04e63
Merge remote-tracking branch 'origin/master' into sync-from-rust-2
fasterthanlime Jul 25, 2022
dc94050
revert nightly rustfmt formatting that accidentally slipped in
fasterthanlime Jul 25, 2022
0b1ed70
Auto merge of #12871 - fasterthanlime:sync-from-rust-2, r=Veykril
bors Jul 25, 2022
5f54ec0
Add a proc-macro-srv-cli crate
fasterthanlime Jul 23, 2022
fba6adf
Add doc comment to pass tidy check
fasterthanlime Jul 23, 2022
fd1b64e
Return result directly
fasterthanlime Jul 24, 2022
4364531
Name the binary 'proc-macro-srv'
fasterthanlime Jul 24, 2022
dadb832
Remember the difference between 'sysroot root' and 'sysroot src root'…
fasterthanlime Jul 25, 2022
74a2fad
Gate and rename binary, use it if it's in the sysroot
fasterthanlime Jul 25, 2022
6967751
Fix mix up in comments
fasterthanlime Jul 25, 2022
2c2520f
Allow specifying sysroot OR sysroot_src
fasterthanlime Jul 25, 2022
7ba94a8
Auto merge of #12858 - fasterthanlime:proc-macro-srv-bin, r=Veykril
bors Jul 26, 2022
4e60db2
feat: Downmap tokens inside derive helpers
Veykril Jul 24, 2022
aa1491e
Record derive helper attributes, resolve them in IDE layer
Veykril Jul 24, 2022
ddad284
Allow name querying for derive helpers
Veykril Jul 24, 2022
e36a20c
Auto merge of #12864 - Veykril:derive-helpers, r=Veykril
bors Jul 26, 2022
8bcd4a2
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-…
fasterthanlime Jul 26, 2022
6ea7d82
Ship `rust-analyzer-proc-macro-srv` binary with dist::Rustc
fasterthanlime Jul 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a proc-macro-srv-cli crate
  • Loading branch information
fasterthanlime committed Jul 25, 2022
commit 5f54ec0e859a020b125519d56ad2a08defd3ddf3
7 changes: 7 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,13 @@ dependencies = [
"tt",
]

[[package]]
name = "proc-macro-srv-cli"
version = "0.0.0"
dependencies = [
"proc-macro-srv",
]

[[package]]
name = "proc-macro-test"
version = "0.0.0"
Expand Down
13 changes: 13 additions & 0 deletions crates/proc-macro-srv-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "proc-macro-srv-cli"
version = "0.0.0"
description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.57"

[dependencies]
proc-macro-srv = { version = "0.0.0", path = "../proc-macro-srv" }

[features]
sysroot-abi = ["proc-macro-srv/sysroot-abi"]
5 changes: 5 additions & 0 deletions crates/proc-macro-srv-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use proc_macro_srv::cli;

fn main() {
cli::run().unwrap();
}