Proposal
Moving #[cfg(test)] modules into a separate files to save recompiling the std crate
when only that test file changes.
core and src/lib* crate already did that.
Moving tests around will be a very big change.
It also makes it harder to blame specific code in tests.
I would like infra member to take care of it, through I could do it myself if wanted.
Relevant PR:
Mentors or Reviewers
If you have a reviewer or mentor in mind for this work, mention then
here. You can put your own name here if you are planning to mentor the
work.
Process
The main points of the Major Change Process is as follows:
You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.
Proposal
Moving
#[cfg(test)]modules into a separate files to save recompiling thestdcratewhen only that test file changes.
coreandsrc/lib*crate already did that.Moving tests around will be a very big change.
It also makes it harder to blame specific code in tests.
I would like infra member to take care of it, through I could do it myself if wanted.
Relevant PR:
Mentors or Reviewers
If you have a reviewer or mentor in mind for this work, mention then
here. You can put your own name here if you are planning to mentor the
work.
Process
The main points of the Major Change Process is as follows:
@rustbot second.-C flag, then full team check-off is required.@rfcbot fcp mergeon either the MCP or the PR.You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.