Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add policy detailing review procedure for target-specific code #61

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

Mark-Simulacrum
Copy link
Member

For tier 1 targets, the reviewer should perform a full review of the code.
Essentially treat the code as *not* platform specific.

For tier 2 and tier 3 targets, the reviewer should confirm that the code:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could say "at least" here.

Comment on lines +6 to +9
For tier 1 targets, the reviewer should perform a full review of the code.
Essentially treat the code as *not* platform specific.

For tier 2 and tier 3 targets, the reviewer should confirm that the code:
Copy link
Member

@dtolnay dtolnay Jan 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Briefly reiterating the platform support policy would help motivate this guidance. Something like:

For tier 1 targets, the reviewer should perform a full review of the code. Essentially treat the code as not platform specific. Tier 1 code is considered "guaranteed to work", and code review is an important aspect of how we uphold this guarantee.

Tier 2 targets are considered "guaranteed to build". When reviewing tier 2 and tier 3 target-specific code, we don't ask thorough scrutiny but the reviewer should confirm that the code:

@dtolnay dtolnay merged commit 23d4ff6 into rust-lang:master Jan 21, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 21, 2024
@Mark-Simulacrum Mark-Simulacrum deleted the target-review branch January 21, 2024 02:44
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 21, 2024
…r=dtolnay

Warn users about limited review for tier 2 and 3 code

Needs rust-lang/std-dev-guide#61
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 21, 2024
…r=dtolnay

Warn users about limited review for tier 2 and 3 code

Needs rust-lang/std-dev-guide#61
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 22, 2024
Rollup merge of rust-lang#120174 - Mark-Simulacrum:link-libs-policy, r=dtolnay

Warn users about limited review for tier 2 and 3 code

Needs rust-lang/std-dev-guide#61
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Apr 7, 2024
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this pull request Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants