Skip to content

Conversation

@jsgf
Copy link
Contributor

@jsgf jsgf commented May 7, 2024

It's useful to be able to do equality tests for these for unit tests.

Should we do this more consistently?

@jsgf jsgf requested a review from a team as a code owner May 7, 2024 00:04
@jsgf jsgf force-pushed the pmpcfgx-eq branch 2 times, most recently from 40b9f24 to 8a789d2 Compare May 7, 2024 01:19
Copy link
Contributor

@romancardenas romancardenas left a comment

Choose a reason for hiding this comment

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

I like this approach! And also I think it would be useful to add it to other structures. Please, fix the conflicts before merging this to master.

It's useful to be able to do equality tests for these for unit tests.
@jsgf
Copy link
Contributor Author

jsgf commented May 7, 2024

OK I rebased it over the check-cfg updates.

Copy link
Contributor

@romancardenas romancardenas left a comment

Choose a reason for hiding this comment

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

LGTM

@romancardenas romancardenas added this pull request to the merge queue May 7, 2024
Merged via the queue into rust-embedded:master with commit 3128975 May 7, 2024
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull request May 10, 2024
Summary:
Bring in:
- rust-embedded/riscv#206 - Eq for Permission
- rust-embedded/riscv#207 - Mstatus update operations

Details of 207 are still under discussion so this will probably need another freshen (and go back to pulling from the riscv repo once its landed).

Reviewed By: dtolnay

Differential Revision: D57136236

fbshipit-source-id: 09e5365d3fd499c4dccae7d2ada333bf369fac47
facebook-github-bot pushed a commit to facebookexperimental/rust-shed that referenced this pull request May 10, 2024
Summary:
Bring in:
- rust-embedded/riscv#206 - Eq for Permission
- rust-embedded/riscv#207 - Mstatus update operations

Details of 207 are still under discussion so this will probably need another freshen (and go back to pulling from the riscv repo once its landed).

Reviewed By: dtolnay

Differential Revision: D57136236

fbshipit-source-id: 09e5365d3fd499c4dccae7d2ada333bf369fac47
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.

2 participants