Commit graph

19 commits

Author SHA1 Message Date
ca9956fcf1 rename crates 2023-02-05 22:25:34 +01:00
df3ec1d417 added quickjs patch for dateparser 2023-02-05 21:31:46 +01:00
fbb192e4b3 fix clippy lints 2023-02-05 18:22:56 +01:00
Christoph Herzog
9fa5f9798a Stop canonicalizing paths in build.rs.
Fixes windows builds.
2021-02-04 21:52:25 +01:00
Christoph Herzog
03998e454c Fix up static wrapper logic
Compile with proper flags.

Also: do not generate for system builds.
2021-02-04 20:36:50 +01:00
Ivan Pavluk
93d0a2214a Hide possible build warnings on C side 2020-11-26 10:16:13 +01:00
Andries Hiemstra
8e7d1846b0 added static inline functions to lib
JS_DupValue, JS_FreeValue, JS_NewInt32, JS_NewBool and JS_NewFloat64
2020-11-07 23:12:19 +01:00
Cheng XU
7dc5d352e8 libquickjs-sys: fix handling path on windows 2020-05-27 09:53:46 +02:00
Christoph Herzog
6c144258b6 sys: Ignore some more warnings during native compilation 2020-05-25 14:40:36 +02:00
Christoph Herzog
f01400a552 sys: Don't build quickjs-libc.c 2020-05-25 14:14:06 +02:00
Christoph Herzog
ebf71e4653 sys: Hardcode -O2 optimization level 2020-05-25 13:26:53 +02:00
Cheng XU
83cd850782 libquickjs-sys: use cc to build quickjs directly 2020-05-25 13:26:53 +02:00
Noah
1284f7b041
Allow specifying the path to libquickjs.a (#63)
* Allow specifying the path to libquickjs.a
2020-05-04 10:27:43 +02:00
Cheng XU
d705b7f85f libquickjs-sys: use cc to determine the proper compiler
This allows us to build quickjs for the following targets:
* `x86_64-unknown-linux-musl`
* `x86_64-pc-windows-gnu` (through cross-compilation)
2020-04-13 11:54:10 +02:00
Mrmaxmeier
0284b12036 fix build for bignum feature 2020-01-28 21:00:26 +01:00
Alexander Rodin
308686035b feat: Arbitrary Precision Integer Support
Implement support for the arbitrary precision integers feature of
quickjs.

In Rust, values are represented with the num-bignum::BigInt type.
2019-09-26 18:08:06 +02:00
Alexander Rodin
fd24e206f2 Add "patched" feature with "stack-overflow-signed.patch"
This commit adds a new "patched" feature to both the
bindings and the main crate.

This feature applies patches to the embedded version that fix up/extend quickjs.

All patches are in libquickjs-sys/embed/patches.
2019-08-13 00:06:25 +02:00
Christoph Herzog
90e11d7f48 Formatting... 2019-07-30 17:04:49 +02:00
Christoph Herzog
51d0f28b20 Refactor crate names... damn name squatters! 2019-07-16 23:47:12 +02:00
Renamed from quickjs-sys/build.rs (Browse further)