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

x86: crate finally builds with x86 and x86_64 #29

Merged
merged 5 commits into from
Aug 4, 2023

Conversation

phip1611
Copy link
Contributor

This PR enables to actually use the crate with arch x86 and not just x86_64. I added CI steps to verify the build. It is a follow up to #28. I had to remove the x86_64 dependency as it broke the build.

Unfortunately, I had to remove your nice and convenient port abstraction from the x86_64 crate. As the ports are an internal API and not exposed to users, I think this is fine. However, it was not my intention to remove any of your work.. perhaps, you might have an idea for another/better solution?

@phip1611 phip1611 force-pushed the x86 branch 3 times, most recently from e9e8ce9 to 5a119f1 Compare July 10, 2023 11:09
@phip1611 phip1611 requested a review from phil-opp July 10, 2023 12:25
@phil-opp
Copy link
Member

Thanks for the PR! Could you

I had to remove the x86_64 dependency as it broke the build.

Could you give some more details on this?

@phip1611
Copy link
Contributor Author

The x86_64 crate doesn't build with x86 for many reasons. I don't think it is possible to fix the x86_64 crate in a sensible way.

image

Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks! Sorry for the slow review.

@phil-opp phil-opp merged commit d60387b into rust-osdev:master Aug 4, 2023
@phil-opp
Copy link
Member

phil-opp commented Aug 4, 2023

Published as v0.3.0.

(This should be a non-breaking change. I still decided to do a new minor release in case there are some subtle differences in the API.)

phil-opp added a commit that referenced this pull request Aug 4, 2023
@phip1611 phip1611 deleted the x86 branch August 7, 2023 10:15
@phip1611
Copy link
Contributor Author

phip1611 commented Aug 7, 2023

Nice, thanks for merging this!

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