Skip to content

x86: crate finally builds with x86 and x86_64#29

Merged
phil-opp merged 5 commits intorust-osdev:masterfrom
phip1611:x86
Aug 4, 2023
Merged

x86: crate finally builds with x86 and x86_64#29
phil-opp merged 5 commits intorust-osdev:masterfrom
phip1611:x86

Conversation

@phip1611
Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Member 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member 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