Skip to content

Remove #[cfg(not(test))] gates in core#138082

Merged
bors merged 1 commit intorust-lang:masterfrom
thaliaarchi:slice-cfg-not-test
Mar 16, 2025
Merged

Remove #[cfg(not(test))] gates in core#138082
bors merged 1 commit intorust-lang:masterfrom
thaliaarchi:slice-cfg-not-test

Conversation

@thaliaarchi
Copy link
Contributor

@thaliaarchi thaliaarchi commented Mar 6, 2025

These gates are unnecessary now that unit tests for core are in a separate package, coretests, instead of in the same files as the source code. They previously prevented the two core versions from conflicting with each other.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants