Skip to content

Commit

Permalink
update linux + apple arm bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
richarddd committed Aug 15, 2023
1 parent 1714c97 commit 09a992b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys/src/bindings/aarch64-apple-darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2618,6 +2618,12 @@ extern "C" {
len: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn JS_DynamicImportSync(
ctx: *mut JSContext,
specifier: *const ::std::os::raw::c_char,
) -> JSValue;
}
extern "C" {
pub fn JS_GetModuleExport(
ctx: *mut JSContext,
Expand Down
6 changes: 6 additions & 0 deletions sys/src/bindings/aarch64-unknown-linux-musl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,12 @@ extern "C" {
len: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn JS_DynamicImportSync(
ctx: *mut JSContext,
specifier: *const ::std::os::raw::c_char,
) -> JSValue;
}
extern "C" {
pub fn JS_GetModuleExport(
ctx: *mut JSContext,
Expand Down
6 changes: 6 additions & 0 deletions sys/src/bindings/x86_64-unknown-linux-gnu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,12 @@ extern "C" {
len: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn JS_DynamicImportSync(
ctx: *mut JSContext,
specifier: *const ::std::os::raw::c_char,
) -> JSValue;
}
extern "C" {
pub fn JS_GetModuleExport(
ctx: *mut JSContext,
Expand Down
6 changes: 6 additions & 0 deletions sys/src/bindings/x86_64-unknown-linux-musl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,12 @@ extern "C" {
len: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn JS_DynamicImportSync(
ctx: *mut JSContext,
specifier: *const ::std::os::raw::c_char,
) -> JSValue;
}
extern "C" {
pub fn JS_GetModuleExport(
ctx: *mut JSContext,
Expand Down

0 comments on commit 09a992b

Please sign in to comment.