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

Replace `i8` with `libc::c_char` #179

Merged
merged 1 commit into from Jul 23, 2015
Merged

Replace `i8` with `libc::c_char` #179

merged 1 commit into from Jul 23, 2015

Conversation

@akosthekiss
Copy link
Contributor

akosthekiss commented Jul 22, 2015

It is definitely suboptimal to manually edit autogenerated code and
surely incomplete but, at least, gets servo build on platforms
where char is unsigned (e.g., on aarch64).

It would be great if a future version of bindgen could generate
libc::c_char at the right places.

Review on Reviewable

It is definitely suboptimal to manually edit autogenerated code and
surely incomplete but, at least, gets servo build on platforms
where char is unsigned (e.g., on aarch64).

It would be great if a future version of bindgen could generate
`libc::c_char` at the right places.
@jdm
Copy link
Member

jdm commented Jul 22, 2015

@michaelwu
Copy link
Contributor

michaelwu commented Jul 23, 2015

Now fixed in bindgen++ michaelwu/rust-bindgen@1c10ec4

r=me for this PR which will cover things until the next bindings update.

@jdm
Copy link
Member

jdm commented Jul 23, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Jul 23, 2015

📌 Commit b5e8488 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jul 23, 2015

Testing commit b5e8488 with merge b8483df...

bors-servo pushed a commit that referenced this pull request Jul 23, 2015
Replace `i8` with `libc::c_char`

It is definitely suboptimal to manually edit autogenerated code and
surely incomplete but, at least, gets servo build on platforms
where char is unsigned (e.g., on aarch64).

It would be great if a future version of bindgen could generate
`libc::c_char` at the right places.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/179)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 23, 2015

☀️ Test successful - cargo-linux, cargo-mac

@bors-servo bors-servo merged commit b5e8488 into servo:master Jul 23, 2015
1 check was pending
1 check was pending
homu Testing commit b5e8488 with merge b8483df...
Details
@akosthekiss akosthekiss deleted the akosthekiss:u8char branch Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.