mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00

Adding initial support for the following URL, TextEncoder, TextDecoder, atob, btoa. This also setups up a cargo workspace (rust) for future developments. iOS adds a local pod dep until we move to using a pod for the runtime dep.
6 lines
549 B
Bash
Executable File
6 lines
549 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cbindgen --config crates/libs/nativescript-core/cbindgen.toml crates/libs/nativescript-core/src/lib.rs -l c > crates/libs/nativescript-core/include/nativescript_core.h
|
|
cbindgen --config crates/libs/nativescript-core/cbindgen.toml crates/libs/nativescript-core/src/lib.rs -l c > packages/core/platforms/ios/src/cpp/include/nativescript_core.h
|
|
cbindgen --config crates/libs/nativescript-core/cbindgen.toml crates/libs/nativescript-core/src/lib.rs -l c > packages/ui-mobile-base/android/widgets/src/main/cpp/include/nativescript_core.h
|