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 user_regs_struct for riscv32/64 #3166

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Conversation

kxxt
Copy link
Contributor

@kxxt kxxt commented Mar 25, 2023

@rustbot
Copy link
Collaborator

rustbot commented Mar 25, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 27, 2023

📌 Commit c04bb66 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 27, 2023

⌛ Testing commit c04bb66 with merge a0395d0...

bors added a commit that referenced this pull request Mar 27, 2023
@bors
Copy link
Contributor

bors commented Mar 27, 2023

💔 Test failed - checks-actions

@kxxt
Copy link
Contributor Author

kxxt commented Mar 28, 2023

broken_heart Test failed - checks-actions

I forgot to make that struct pub. It should be fixed now.

@JohnTitor
Copy link
Member

👍 @bors r+

@bors
Copy link
Contributor

bors commented Mar 28, 2023

📌 Commit 80bbbd2 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 28, 2023

⌛ Testing commit 80bbbd2 with merge 1565989...

bors added a commit that referenced this pull request Mar 28, 2023
@bors
Copy link
Contributor

bors commented Mar 28, 2023

💔 Test failed - checks-actions

@JohnTitor
Copy link
Member

Could you squash commits into one?

@kxxt
Copy link
Contributor Author

kxxt commented Mar 28, 2023

Oops. I have made a stupid mistake when copying the struct from C header. I should test it before opening this PR. I am very sorry for wasting your time on this PR.

It should be fixed now and I have checked that it builds fine for target riscv64gc-unknown-linux-gnu

@kxxt
Copy link
Contributor Author

kxxt commented Mar 28, 2023

Could you squash commits into one?

Yes. It has been squashed now.

@kxxt
Copy link
Contributor Author

kxxt commented Mar 28, 2023

Maybe it is better to mention in the contribution guide that the contributor should successfully build and test for the target that they are working on before opening PRs.

Directly following the contribution guide to run cd libc-test && cargo test only builds and tests for the host architecture.

Adding this to the contribution guide would help contributors catch this kind of mistakes and save you time.

@JohnTitor
Copy link
Member

I'm open to see a PR :)
@bors r+

@bors
Copy link
Contributor

bors commented Mar 29, 2023

📌 Commit 7c5c2c5 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 29, 2023

⌛ Testing commit 7c5c2c5 with merge 3a6c1c4...

@bors
Copy link
Contributor

bors commented Mar 29, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 3a6c1c4 to master...

@bors bors merged commit 3a6c1c4 into rust-lang:master Mar 29, 2023
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants