mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add aarch64-unknown-linux-gnu support
* Adding dependencies * Replacing `i8` with `libc::c_char` to build properly on platforms where char is unsigned.
This commit is contained in:
parent
e32068d17b
commit
fa86ea4f6f
4 changed files with 14 additions and 5 deletions
|
@ -233,7 +233,7 @@ pub fn do_create_interface_objects(cx: *mut JSContext,
|
|||
let constructor = RootedObject::new(cx, create_constructor(cx, cnative, cnargs, cs.as_ptr()));
|
||||
assert!(!constructor.ptr.is_null());
|
||||
unsafe {
|
||||
assert!(JS_DefineProperty1(cx, constructor.handle(), "prototype".as_ptr() as *const i8,
|
||||
assert!(JS_DefineProperty1(cx, constructor.handle(), "prototype".as_ptr() as *const libc::c_char,
|
||||
rval.handle(),
|
||||
JSPROP_PERMANENT | JSPROP_READONLY,
|
||||
None, None) != 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue