Commit 574274f
authored
Rollup merge of rust-lang#62771 - petrochenkov:depext, r=eddyb
Break dependencies between `syntax_ext` and other crates
Move `source_util` macros into `syntax_ext`.
Move other early code generation facilities like standard library injection into `syntax_ext`.
The only crate that depends on `syntax_ext` now is `rustc_interface` which is one of the "final" crates that depend on everything.
Minor: Cleanup dependencies of `rustc_driver`, many of them are no longer used after introduction of `rustc_interface`.
r? @eddybFile tree
44 files changed
+457
-664
lines changed- src
- librustc_allocator
- librustc_codegen_llvm
- librustc_codegen_ssa
- back
- traits
- librustc_driver
- librustc_interface
- librustc_metadata
- librustc_passes
- librustc_resolve
- librustc
- hir
- middle
- session
- libsyntax_ext
- deriving
- generic
- libsyntax
- ext
- parse
- lexer
- print
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+457
-664
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2751 | 2751 | | |
2752 | 2752 | | |
2753 | 2753 | | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
2757 | | - | |
2758 | | - | |
2759 | | - | |
2760 | | - | |
2761 | | - | |
2762 | | - | |
2763 | | - | |
2764 | | - | |
2765 | | - | |
2766 | | - | |
2767 | | - | |
2768 | 2754 | | |
2769 | 2755 | | |
2770 | 2756 | | |
| |||
2822 | 2808 | | |
2823 | 2809 | | |
2824 | 2810 | | |
2825 | | - | |
2826 | 2811 | | |
2827 | 2812 | | |
2828 | 2813 | | |
| |||
2877 | 2862 | | |
2878 | 2863 | | |
2879 | 2864 | | |
2880 | | - | |
2881 | 2865 | | |
2882 | 2866 | | |
2883 | 2867 | | |
2884 | 2868 | | |
2885 | | - | |
2886 | | - | |
2887 | 2869 | | |
2888 | 2870 | | |
2889 | 2871 | | |
2890 | 2872 | | |
2891 | | - | |
2892 | 2873 | | |
2893 | | - | |
2894 | 2874 | | |
2895 | 2875 | | |
2896 | | - | |
2897 | | - | |
2898 | | - | |
2899 | | - | |
2900 | 2876 | | |
2901 | 2877 | | |
2902 | | - | |
2903 | | - | |
2904 | 2878 | | |
2905 | | - | |
2906 | 2879 | | |
2907 | | - | |
2908 | 2880 | | |
2909 | 2881 | | |
2910 | 2882 | | |
| |||
2948 | 2920 | | |
2949 | 2921 | | |
2950 | 2922 | | |
2951 | | - | |
2952 | 2923 | | |
2953 | 2924 | | |
2954 | 2925 | | |
| |||
3036 | 3007 | | |
3037 | 3008 | | |
3038 | 3009 | | |
3039 | | - | |
3040 | 3010 | | |
3041 | 3011 | | |
3042 | 3012 | | |
| |||
3081 | 3051 | | |
3082 | 3052 | | |
3083 | 3053 | | |
3084 | | - | |
3085 | 3054 | | |
3086 | | - | |
3087 | 3055 | | |
3088 | 3056 | | |
3089 | 3057 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
244 | | - | |
| 243 | + | |
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments