Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor clippy perf fixes | Laurențiu Nicola | 2021-06-18 | 1 | -5/+5 |
| | |||||
* | Merge #9260 | bors[bot] | 2021-06-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 9260: tree-wide: make rustdoc links spiky so they are clickable r=matklad a=lf- Rustdoc was complaining about these while I was running with --document-private-items and I figure they should be fixed. Co-authored-by: Jade <[email protected]> | ||||
| * | tree-wide: make rustdoc links spiky so they are clickable | Jade | 2021-06-14 | 1 | -1/+1 |
| | | |||||
* | | cargo fmt | Maan2003 | 2021-06-13 | 1 | -3/+1 |
| | | |||||
* | | clippy::useless_return | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | | |||||
* | | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -1/+1 |
|/ | |||||
* | NFC: remove redundant clones (clippy::perf) | Matthias Krüger | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | Replace `memmap` to `memmap2` in `proc_macro_api` | memoryruins | 2021-05-04 | 1 | -1/+1 |
| | |||||
* | Add profiling spans under cargo_to_crate_graph | Laurențiu Nicola | 2021-04-22 | 1 | -0/+1 |
| | |||||
* | Trim down IPC json size | Edwin Cheng | 2021-03-24 | 1 | -4/+26 |
| | |||||
* | Improve message usage in proc-macro | Edwin Cheng | 2021-03-23 | 2 | -6/+13 |
| | | | | Reuse storage for the buffer send to child process of proc-macro. | ||||
* | Ignore proc-macro stdout to prevent IPC crash | Edwin Cheng | 2021-03-23 | 1 | -7/+18 |
| | |||||
* | remove uselessly wrapped ?s. (clippy::meedless_question_mark | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | | | | | | | | let x = Some(3); let y = Some(x?); can just be: let y = x | ||||
* | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -7/+4 |
| | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Add test for proc-macro meta info retrieval | Edwin Cheng | 2021-03-15 | 2 | -7/+9 |
| | |||||
* | some clippy::performance fixes | Matthias Krüger | 2021-03-15 | 1 | -2/+2 |
| | | | | | | | use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unneccessary resizing | ||||
* | use doc-comments | Edwin Cheng | 2021-03-09 | 1 | -21/+22 |
| | |||||
* | Print warning if proc-macro built by old rustc | Edwin Cheng | 2021-03-04 | 2 | -73/+148 |
| | |||||
* | Revise error message regarding metadata version | Jay Somedon | 2021-03-04 | 1 | -10/+6 |
| | | | | Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
* | Update condition check code style | Jay Somedon | 2021-03-04 | 1 | -1/+1 |
| | | | Co-authored-by: Jonas Schievink <[email protected]> | ||||
* | Update comment | Jay Somedon | 2021-03-04 | 1 | -1/+1 |
| | | | Co-authored-by: Jonas Schievink <[email protected]> | ||||
* | Fix multiple issues from code review | Jay Somedon | 2021-03-04 | 1 | -15/+29 |
| | | | | | | | | * check metadata version * use memmap * use Result instead of unwrap with Jay Somedon <[email protected]> | ||||
* | Read version of rustc that compiled proc macro | Jay Somedon | 2021-03-04 | 1 | -10/+72 |
| | | | | With Jay Somedon <[email protected]> | ||||
* | Remove redundant clones | Yoshua Wuyts | 2021-02-05 | 1 | -1/+1 |
| | |||||
* | Reap proc macro server instances | Laurențiu Nicola | 2021-02-01 | 1 | -8/+3 |
| | |||||
* | Fixed typos in code comments | Vincent Esche | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | Remove serde_stacker which depends on cc | Edwin Cheng | 2021-01-01 | 1 | -2/+1 |
| | |||||
* | Fix deep syntax tree bug generated by proc-macro | Edwin Cheng | 2021-01-01 | 2 | -4/+12 |
| | |||||
* | Pass crate environment to proc macros | Jonas Schievink | 2020-12-27 | 2 | -1/+7 |
| | |||||
* | Move TokenExpander to base_db and rename it | Jonas Schievink | 2020-12-27 | 1 | -2/+2 |
| | | | | It's only used to break the dependency to proc_macro_api | ||||
* | Remove dummy ProcMacroClient in favor of Option | Jonas Schievink | 2020-12-07 | 1 | -45/+28 |
| | |||||
* | Retain types of proc macros and allow attr. macros | Jonas Schievink | 2020-12-07 | 2 | -17/+18 |
| | |||||
* | Make `ProcMacroProcessExpander` private | Jonas Schievink | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | ProcMacroProcessExpander: support attribute macros | Jonas Schievink | 2020-12-07 | 2 | -21/+11 |
| | |||||
* | Don't respawn proc macro server on crash | Jonas Schievink | 2020-12-04 | 1 | -26/+15 |
| | |||||
* | Unwrap `process.stdio()` result | Jonas Schievink | 2020-12-04 | 1 | -4/+1 |
| | | | | If this is ever `None` here, that's a bug | ||||
* | Destructure in for loop | Jonas Schievink | 2020-12-04 | 1 | -3/+1 |
| | |||||
* | Remove unnecessary `Option` | Jonas Schievink | 2020-12-04 | 1 | -8/+3 |
| | |||||
* | Deny unreachable-pub | Aleksey Kladov | 2020-11-02 | 2 | -21/+21 |
| | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. | ||||
* | Hacky support for fn-like proc macros | Jonas Schievink | 2020-08-15 | 1 | -3/+3 |
| | |||||
* | Rename ra_proc_macro -> proc_macro_api | Aleksey Kladov | 2020-08-13 | 4 | -0/+668 |