bors[bot]
9210fcc076
Merge #4676
...
4676: proc_macro: fix current nightly/future stable ABI incompatibility r=matklad a=robojumper
With rust-lang/rust#72233, the proc_macro ABI has changed, leading to the `test_derive_serialize_proc_macro` test believing that `serde` wants to pass the struct name as a byte string literal instead of a string literal.
Fixes #4866 .
Co-authored-by: robojumper <robojumper@gmail.com>
2020-07-16 14:29:57 +00:00
Yuki Okushi
6f423466d1
Add a license field to all the crates
2020-07-14 10:57:26 +09:00
kjeremy
4b7f473223
Clippy perf warnings
2020-07-08 09:45:29 -04:00
Laurențiu Nicola
dbb940fa7d
Colorize more test fixtures
2020-07-01 19:05:34 +03:00
Jeremy Kolb
a120ceed19
Update test for new serde
2020-06-21 12:10:50 -04:00
robojumper
09ded918c4
proc_macro: fix current nightly/future stable ABI incompatibility
2020-05-31 21:22:08 +02:00
veetaha
a419cedb1c
Fix tests, apply code review proposals
2020-05-31 03:10:23 +03:00
Edwin Cheng
3de3b52f10
Remove dbg
2020-05-10 06:39:36 +08:00
Edwin Cheng
2400d70442
Update cargo-metadata
2020-05-10 06:22:26 +08:00
Laurențiu Nicola
1e20467c3a
Bump deps
2020-05-01 15:29:03 +03:00
Edwin Cheng
bfce657377
Generate uniq name
2020-04-26 18:59:09 +08:00
Edwin Cheng
183673655f
Simpify code
2020-04-26 17:58:56 +08:00
Edwin Cheng
fb996cae6b
Fix
2020-04-26 17:17:37 +08:00
Edwin Cheng
3bad5587c8
Compare timestamp
2020-04-26 17:17:37 +08:00
Edwin Cheng
5a5bba5a46
Copy dylib to temp directory
2020-04-26 17:17:37 +08:00
Edwin Cheng
3e24444aee
Cacheproc-macro dlls
2020-04-26 17:17:37 +08:00
Edwin Cheng
a83d1743a5
Refactor a bit
2020-04-24 09:27:37 +08:00
Edwin Cheng
1627b55028
Bubble up error
2020-04-24 01:38:58 +08:00
Edwin Cheng
25e8f5ded9
Fix typo
2020-04-24 00:16:17 +08:00
Edwin Cheng
0744497699
Panic proc macro srv if read request failed
2020-04-24 00:06:01 +08:00
Veetaha
834960d841
Fix typo
...
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-04-20 22:07:47 +03:00
Veetaha
0f5b1fef5e
Display path not debug it
...
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-04-20 22:06:41 +03:00
Veetaha
982af2286a
Display path not debug it
...
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-04-20 21:50:06 +03:00
veetaha
d3019164dc
ra_proc_macro: cleanups here and there
2020-04-20 21:37:02 +03:00
Edwin Cheng
72bba98828
Merge empty delim subtree in proc-macro
2020-04-18 19:29:04 +08:00
Laurențiu Nicola
93fcf1c133
Use mmap for proc macro libs
2020-04-17 12:38:38 +03:00
Laurențiu Nicola
02b96d522c
Reduce allocations when looking up proc macro decl
2020-04-17 11:12:05 +03:00
Edwin Cheng
177becea98
Add proc-macro cli command for rust-analyzer
2020-04-16 21:13:57 +08:00
Edwin Cheng
31d163aa3b
Improve error handling
2020-04-11 14:53:13 +08:00
Edwin Cheng
5fc8f90a21
tidy up a bit
2020-04-10 19:08:15 +08:00
Edwin Cheng
857c03df07
Fix macos symbol name bug
2020-04-10 04:09:11 +08:00
Edwin Cheng
197039b9fe
Remove allow(unused)
2020-04-10 02:06:14 +08:00
Edwin Cheng
460ddde176
Add tests
2020-04-10 02:05:54 +08:00
Edwin Cheng
e5698faf4c
Implement expand_task and list_macros
2020-04-10 01:18:47 +08:00
Edwin Cheng
f7f121d60d
Add dylib loading code
2020-04-10 01:18:47 +08:00
Edwin Cheng
836384393b
Remove unused func
2020-04-09 13:04:01 +08:00
Edwin Cheng
6af1015f74
Add rustc_server (ra_tt rustc bridge)
2020-04-09 12:22:45 +08:00
Aleksey Kladov
9e3c843847
fmt
2020-04-08 12:19:41 +02:00
Edwin Cheng
4f70162f54
Add bridge::TokenStream to crate scope
2020-04-06 23:07:48 +08:00
Edwin Cheng
b2844917ad
Add proc_macro mod (copy from lib_proc_macro)
2020-04-06 23:07:48 +08:00
Edwin Cheng
40616fdb49
Refactor deps
2020-04-06 23:07:48 +08:00
est31
dc142152e6
Remove unused dependencies
2020-04-04 19:22:14 +02:00
Edwin Cheng
9a2114b0dd
Add doc comment on main.rs
2020-04-03 19:16:54 +08:00
Edwin Cheng
84fb9b44c3
Introduce ra_proc_macro_srv
2020-04-03 19:01:44 +08:00