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

change dot const to u8 #3

Closed
wants to merge 1 commit into from
Closed

change dot const to u8 #3

wants to merge 1 commit into from

Conversation

nivkner
Copy link
Contributor

@nivkner nivkner commented Jul 17, 2017

Hi @tailhook,
Couldn't help but notice that openat doesn't compile.
After this change it does.
Ran the tests, nothing seems negatively affected by this.

@tailhook
Copy link
Owner

That's strange. What version of rustc do you have?

@nivkner
Copy link
Contributor Author

nivkner commented Jul 17, 2017

rustc 1.18.0

@nivkner
Copy link
Contributor Author

nivkner commented Jul 17, 2017

Oh.. I'm sorry. Didn't realize c_char was defined differently between aarch64 and x86_64. That was why it didn't compile on my odroid C2.

@nivkner nivkner closed this Jul 17, 2017
@tailhook
Copy link
Owner

Wow! So after this PR does it compile on both architectures?

@nivkner nivkner mentioned this pull request Jul 17, 2017
@nivkner
Copy link
Contributor Author

nivkner commented Jul 17, 2017

No, it just won't compile in x86_64 instead. But with #4 it should.

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