-
Notifications
You must be signed in to change notification settings - Fork 140
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
Separating out assembly instructions #177
Comments
All the assembly instructions should be gated with In combination, I see no reason why the crate shouldn't build on win32. Could you try building with the mentioned build command and report the error, if any? Also, the full name of your target would be useful for reproducing the issue. |
It fails to recognize the assembly file type. Hence, I thought creating a |
Thanks for the info! I can reproduce the compilation errors and it also seems like the "stable" feature is not supported on Windows anyway: x86_64/.github/workflows/build.yml Lines 65 to 67 in ebc02e1
After looking through our current feature gates, I agree that an Some related things that I also worth changing in my opinion:
I think it might make sense to implement the last two items together with the |
Okay, thank you for giving me guidance! I will prepare a PR in the next few days |
This was fixed in #179 |
This is a really great project for x86 internals. We are working on a cross-platform memory introspection toolkit, and the page table structures are what we use to test our implementation against.
Unfortunately, because assembly instructions are tied with x86 target, it is not possible to compile the crate on other architectures, or on win32 with stable toolchain, for that matter. Thus, we had to fork out just the structure part of this crate to provide cross-platform compilation, but it is not a very sustainable solution either.
The question is, would there be interest in separating out all platform-dependent functions (mainly the ones using assembly instructions) under a (default) feature flag? I could prepare a PR, if that's fine.
The text was updated successfully, but these errors were encountered: