Commit 845f25a
authored
Rollup merge of rust-lang#161259 - mejrs:attr_structures, r=JonathanBrouwer
move some attribute related structs out of rustc_attr_ir
This changes it so that
- rustc_session no longer depends on rustc_attr_ir
- rustc_attr_ir no longer depends on rustc_target (which is a fairly sizeable crate)
- rustc_attr_ir and rustc_target can compile in parallel
Previous graph:
<img width="985" height="512" alt="image" src="https://github.com/user-attachments/assets/cbde2414-043e-45f2-88a2-f77a5c9df60c" />
Graph with this PR:
<img width="1248" height="474" alt="image" src="https://github.com/user-attachments/assets/e0e13794-b17b-4337-8768-f0191cb1c0e6" />
r? @JonathanBrouwer135 files changed
Lines changed: 636 additions & 458 deletions
File tree
- compiler
- rustc_attr_ir
- src
- rustc_attr_parsing
- src/attributes
- rustc_codegen_cranelift/src/driver
- rustc_codegen_llvm
- src
- back
- debuginfo
- rustc_codegen_ssa
- src
- back
- link
- traits
- rustc_const_eval
- src/interpret
- rustc_crate_store
- src
- rustc_data_structures/src
- rustc_driver_impl
- src
- rustc_error_messages/src
- rustc_expand
- src
- rustc_hir_analysis
- src
- rustc_interface
- src
- rustc_lint
- src
- rustc_metadata
- src
- rmeta
- rustc_middle
- src
- middle
- ty
- context
- print
- rustc_mir_transform
- src/inline
- rustc_monomorphize
- src
- mono_checks
- rustc_passes
- src
- rustc_query_impl
- src
- rustc_resolve
- src
- rustc_session
- src
- config
- rustc_structures
- src
- rustc_target
- src/spec
- rustc_trait_selection
- src/error_reporting
- infer/nice_region_error
- traits
- rustc_ty_utils
- src
- src
- bootstrap/src/core/builder
- cli_paths/snapshots
- librustdoc
- passes
- tools
- clippy/clippy_lints/src
- miri
- priroda/src
- src
- bin
- tests/ui-fulldeps/codegen-backend/auxiliary
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3664 | 3664 | | |
3665 | 3665 | | |
3666 | 3666 | | |
3667 | | - | |
| 3667 | + | |
3668 | 3668 | | |
3669 | 3669 | | |
3670 | 3670 | | |
| |||
3688 | 3688 | | |
3689 | 3689 | | |
3690 | 3690 | | |
| 3691 | + | |
3691 | 3692 | | |
3692 | 3693 | | |
3693 | 3694 | | |
| |||
3785 | 3786 | | |
3786 | 3787 | | |
3787 | 3788 | | |
| 3789 | + | |
3788 | 3790 | | |
3789 | 3791 | | |
3790 | 3792 | | |
| |||
3824 | 3826 | | |
3825 | 3827 | | |
3826 | 3828 | | |
| 3829 | + | |
3827 | 3830 | | |
3828 | 3831 | | |
3829 | 3832 | | |
| |||
3855 | 3858 | | |
3856 | 3859 | | |
3857 | 3860 | | |
| 3861 | + | |
3858 | 3862 | | |
3859 | 3863 | | |
3860 | 3864 | | |
| |||
3871 | 3875 | | |
3872 | 3876 | | |
3873 | 3877 | | |
| 3878 | + | |
3874 | 3879 | | |
3875 | 3880 | | |
3876 | 3881 | | |
| |||
3949 | 3954 | | |
3950 | 3955 | | |
3951 | 3956 | | |
| 3957 | + | |
3952 | 3958 | | |
3953 | 3959 | | |
3954 | 3960 | | |
| |||
4023 | 4029 | | |
4024 | 4030 | | |
4025 | 4031 | | |
| 4032 | + | |
4026 | 4033 | | |
4027 | 4034 | | |
4028 | 4035 | | |
| |||
4098 | 4105 | | |
4099 | 4106 | | |
4100 | 4107 | | |
| 4108 | + | |
4101 | 4109 | | |
4102 | 4110 | | |
4103 | 4111 | | |
| |||
4251 | 4259 | | |
4252 | 4260 | | |
4253 | 4261 | | |
| 4262 | + | |
4254 | 4263 | | |
4255 | 4264 | | |
4256 | 4265 | | |
| |||
4292 | 4301 | | |
4293 | 4302 | | |
4294 | 4303 | | |
| 4304 | + | |
4295 | 4305 | | |
4296 | 4306 | | |
4297 | 4307 | | |
| |||
4373 | 4383 | | |
4374 | 4384 | | |
4375 | 4385 | | |
| 4386 | + | |
4376 | 4387 | | |
4377 | 4388 | | |
4378 | 4389 | | |
| |||
4405 | 4416 | | |
4406 | 4417 | | |
4407 | 4418 | | |
| 4419 | + | |
4408 | 4420 | | |
4409 | 4421 | | |
4410 | 4422 | | |
| |||
4476 | 4488 | | |
4477 | 4489 | | |
4478 | 4490 | | |
| 4491 | + | |
4479 | 4492 | | |
4480 | 4493 | | |
4481 | 4494 | | |
| |||
4498 | 4511 | | |
4499 | 4512 | | |
4500 | 4513 | | |
| 4514 | + | |
4501 | 4515 | | |
4502 | 4516 | | |
4503 | 4517 | | |
| |||
4571 | 4585 | | |
4572 | 4586 | | |
4573 | 4587 | | |
| 4588 | + | |
4574 | 4589 | | |
4575 | 4590 | | |
4576 | 4591 | | |
| |||
4663 | 4678 | | |
4664 | 4679 | | |
4665 | 4680 | | |
| 4681 | + | |
4666 | 4682 | | |
4667 | 4683 | | |
4668 | 4684 | | |
| |||
4690 | 4706 | | |
4691 | 4707 | | |
4692 | 4708 | | |
| 4709 | + | |
4693 | 4710 | | |
4694 | 4711 | | |
4695 | 4712 | | |
| |||
4731 | 4748 | | |
4732 | 4749 | | |
4733 | 4750 | | |
4734 | | - | |
4735 | 4751 | | |
4736 | 4752 | | |
4737 | 4753 | | |
| |||
4741 | 4757 | | |
4742 | 4758 | | |
4743 | 4759 | | |
| 4760 | + | |
4744 | 4761 | | |
4745 | 4762 | | |
4746 | 4763 | | |
| |||
4770 | 4787 | | |
4771 | 4788 | | |
4772 | 4789 | | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
4773 | 4804 | | |
4774 | 4805 | | |
4775 | 4806 | | |
| |||
4800 | 4831 | | |
4801 | 4832 | | |
4802 | 4833 | | |
| 4834 | + | |
4803 | 4835 | | |
4804 | 4836 | | |
4805 | 4837 | | |
| |||
4849 | 4881 | | |
4850 | 4882 | | |
4851 | 4883 | | |
| 4884 | + | |
4852 | 4885 | | |
4853 | 4886 | | |
4854 | 4887 | | |
| |||
4897 | 4930 | | |
4898 | 4931 | | |
4899 | 4932 | | |
| 4933 | + | |
4900 | 4934 | | |
4901 | 4935 | | |
4902 | 4936 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments