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

Rust conditional compilation #1932

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

lockbox
Copy link
Contributor

@lockbox lockbox commented Mar 27, 2024

This is split into 2 commits

  • apply default rust 2021 formatting to entire rust codebase
  • conditionally include rust code based on the compilation bindings / features set when used in cargo.toml

lockbox added 2 commits March 27, 2024 16:54
While the bindings conditionally compile code based on the cfg
flags, we still include the architecture support in emitted rust
code. This patch removes the ability to refer to architectures
that cannot possibly be supported.
@wtdcode wtdcode merged commit cff94a4 into unicorn-engine:dev Mar 28, 2024
32 checks passed
@wtdcode
Copy link
Member

wtdcode commented Mar 28, 2024

Merged, thanks!

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