Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

i386 support #43

Open
geofft opened this issue Jun 3, 2018 · 2 comments
Open

i386 support #43

geofft opened this issue Jun 3, 2018 · 2 comments
Labels
enhancement New feature or request testing Something related to how we test this project

Comments

@geofft
Copy link
Collaborator

geofft commented Jun 3, 2018

While looking at something else I remembered that the i386 kernel builds with -mregparm=3 -freg-struct-return, i.e., pass the first three arguments in registers (instead of on the stack, the normal ABI) and try to return structures in a register if they fit. I'm not sure if Rust and/or bindgen know how to deal with this.

If they don't, put a note in README.md and move on. If they do, let's add i386 to CI at some point....

@alex
Copy link
Member

alex commented Jun 3, 2018 via email

@alex alex added the testing Something related to how we test this project label Sep 1, 2019
@alex alex changed the title Test on i386 i386 support Sep 13, 2019
@alex
Copy link
Member

alex commented Sep 13, 2019

Same checklist as #165:

  • Upstream a target to Rust (including obviously figuring out all the details of that ABI)
  • Figure out how we can test it in CI (chroot?)
  • Add support to c_types.rs
  • Turn it all on!

@alex alex added the enhancement New feature or request label Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request testing Something related to how we test this project
Projects
None yet
Development

No branches or pull requests

2 participants