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

Add definitions for aarch64 apple OSX. #36

Merged
merged 1 commit into from Apr 1, 2022

Conversation

nmathewson
Copy link
Contributor

I got these by running the provided scripts/codegen.sh, with
CODEGEN64 removed. They seem to match up with the contents of the
resource.h from the SDK. With these definitions, rlimit now builds
and passes its tests on my M1 laptop.

Closes issue #35.


Please let me know if I've messed anything up here: I chose the name by analogy with other module names in bindings.rs

I got these by running the provided scripts/codegen.sh, with
CODEGEN64 removed.  They seem to match up with the contents of the
resource.h from the SDK.   With these defintions, rlimit now builds
and passes its tests on my M1 laptop.

Closes issue Nugine#35.
@nmathewson
Copy link
Contributor Author

(Also, I wasn't sure whether to target this MR at dev or at master; please edit as appropriate.)

@Nugine
Copy link
Owner

Nugine commented Apr 1, 2022

The custom codegen accidentally breaks compilation on M1. Thanks for the fix.

Now the cross test workflow automatically generates bindings.rs and check whether it matches the one in src. But GitHub action doesn't support M1 yet (actions/runner#805). It seems that the codegen check must emit a warning instead of an error. I will change it later.

@Nugine Nugine merged commit b074568 into Nugine:master Apr 1, 2022
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.

None yet

2 participants