Commit graph

20 commits

Author SHA1 Message Date
LongYinan
b835c7ef3f
feat(build): remove ureq to support windows arm64 2021-05-31 23:31:17 +08:00
LongYinan
d1bceccbe6
feat(napi): expose create_string_from_c_char for C ffi scenario 2021-04-14 14:05:07 +08:00
Chris Nixon
74e6cf2916
Don't try to use ureq on musl targets 2021-04-01 23:32:01 +01:00
Chris Nixon
03e6048dc9
Check compile target at runtime in build 2021-03-30 22:56:03 +01:00
LongYinan
294563d8dc
chore(build): upgrade ureq to 2.0 2021-01-04 13:55:26 +08:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
1. inline everything
2. change `check_status` and `type_of` to macro
3. provide #[module_exports] macro
4. remove debug and repr[transparent] for ffi struct
2020-11-26 11:31:49 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen 2020-11-10 17:52:59 +08:00
adumbidiot
cab8fcc3a6 Remove use of global node.lib cache 2020-10-30 20:58:28 -07:00
adumbidiot
e25ef3a3d8 Seperate build setup script into seperate files to fix formatting 2020-10-30 20:11:10 -07:00
adumbidiot
7739cf5dc3 Respect CARGO_CFG_TARGET_ARCH env var 2020-10-30 20:00:16 -07:00
adumbidiot
5364458366 Avoid running entire napi_build::setup twice 2020-10-30 18:29:08 -07:00
adumbidiot
b062c0fd6e Respect NPM_CONFIG_DISTURL env var 2020-10-30 18:17:06 -07:00
adumbidiot
7862726e84 Use ureq to download node.lib 2020-10-30 17:57:28 -07:00
LongYinan
d1d6a5b963
refactor(build): use node to download .lib file on Windows 2020-10-10 13:04:42 +08:00
Flux Xu
595bf69a43 refactor: build on Windows without admin privilege. 2020-09-19 12:28:02 -04:00
LongYinan
c229b26fa7
fix(build): add -Wl rustc-cdylib-link-arg on macOS 2020-08-26 17:59:00 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv 2020-07-07 11:57:32 +08:00
LongYinan
0d5f03f845
feat: move napi version features setup to build package 2020-07-02 00:40:36 +08:00
LongYinan
e0e85502af
feat: upgrade to std-future 2020-02-18 21:09:17 +08:00