0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-28 16:21:04 -05:00
Commit graph

928 commits

Author SHA1 Message Date
Ben Noordhuis
f77ab69834
chore: remove "stop sscache" ci step (#876)
Fails regularly and inexplicably even though installing and starting
sscache works just fine:

    /home/runner/work/_temp/c2b88417-fdca-4378-b8c3-66cea7ddc094.sh:
    line 1: sccache: command not found

It's probably a path issue but as there doesn't seem to be much point in
stopping it explicitly, I'm opting to simply remove that CI build step
altogether.
2022-01-22 04:10:00 +01:00
github-actions[bot]
4cf2f55d43
Rolling to V8 9.8.177.7 (#873) 2022-01-21 12:25:08 +01:00
Romain Marcadier
2180716923
Add v8::Map bindings (#872)
Support v8::Map operations (`new`, `clear`, `get`, `set`, `has`,
and `delete`).
2022-01-19 19:01:55 +01:00
Luca Casonato
a4db61ae50
v0.38.1 2022-01-19 12:06:56 +01:00
Divy Srivastava
d171fbb890
fix: separate out android example into crate (#871) 2022-01-19 16:09:07 +05:30
Luca Casonato
107c11905c
v0.38.0 2022-01-18 19:55:42 +01:00
github-actions[bot]
2fdcc0c629
Rolling to V8 9.8.177.6 (#868) 2022-01-13 20:42:59 +01:00
Bartek Iwańczuk
c3fbccf674
ci: update runner from ubuntu-latest-xl to ubuntu-20.04-xl (#867)
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2022-01-12 16:01:55 -08:00
Bert Belder
3315ccd4e9
Disable snapshot compression on all platforms (#865)
It turns out that the embedder can selectively compress snapshots,
resulting in better startup performance and a smaller binary size.

See https://github.com/denoland/deno/pull/13320.
2022-01-10 09:48:58 -08:00
Bert Belder
1cedb0eb21
fix: re-enable v8 snapshot compression (#864)
It was disabled upstream¹, citing a minimal size bump of ~400 kB.
However Deno got ~24 MB bigger, which is unacceptable.

¹ https://chromium-review.googlesource.com/c/v8/v8/+/3275554
2022-01-07 16:29:12 -08:00
github-actions[bot]
bab4467e4d
Rolling to V8 9.8.177.5 (#863) 2022-01-07 11:56:29 +01:00
Divy Srivastava
a29740df6b
Add aarch64-linux-android support (#860) 2022-01-04 21:32:48 +01:00
Aaron O'Mullan
b3e09e69a0
feat: v8::StackTrace::CurrentStackTrace() bindings (#800) 2021-12-28 16:52:12 +01:00
github-actions[bot]
d43c4a95ac
Rolling to V8 9.8.177.4 (#859) 2021-12-28 11:26:03 +01:00
github-actions[bot]
df789e451d
Rolling to V8 9.8.177.3 (#858) 2021-12-20 11:49:58 +01:00
Bert Belder
fd7f3abf44
v0.37.0 2021-12-14 21:26:29 -08:00
Bert Belder
65e78fd960
chore: upgrade Rust to 1.57.0 (#856) 2021-12-14 21:25:10 -08:00
Rafael Ávila de Espíndola
9a80684b03
Fix the build with python 3.10 (#855)
This updates jinja2 to ee69aa00ee8536f61db6a451f3858745cf587de6, which
is the version in v8's DEPS. This version is compatible with python
3.10.
2021-12-14 14:35:38 -05:00
Andreu Botella
06648dd1bd
fix: segfault when dropping BackingStore constructed from empty slice (#851)
This fixes in a segmentation fault when dropping a `BackingStore`
constructed through `ArrayBuffer::new_backing_store_from_boxed_slice()`
from an empty slice, since zero length boxed slices are invalid
(dangling) pointers, while Rust expects a `Box<c_void>` to always be a
valid pointer.

Fixes: #849
2021-12-13 15:37:59 -08:00
Bert Belder
251f1e9ac9
fix: url param to v8::WasmStreaming::SetUrl() must be null terminated (#854) 2021-12-12 21:25:11 -08:00
Bert Belder
b6a16916ce
test: don't use --harmony-top-level-await flag (#854)
Top level await is now enabled by default and the flag no longer exists.
2021-12-12 21:25:01 -08:00
denobot
cd5b2fa148
Rolling to V8 9.8.177.2 (#854) 2021-12-12 20:01:45 -08:00
Bert Belder
b5555e804b
Track V8 9.8 (#853) 2021-12-12 18:35:29 -08:00
github-actions[bot]
ed1bf3a48d
Rolling to V8 9.7.106.17 (#850) 2021-12-11 07:23:43 -05:00
Andreu Botella
8bea9b1f40
Add support for generating a clangd compilation database (#823)
This will help with IDE integration of the C++ part of the code.

Ref: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/clangd.md
2021-12-11 11:16:43 +01:00
github-actions[bot]
b09f6400b7
Rolling to V8 9.7.106.16 (#847)
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
2021-12-06 11:35:27 +01:00
Luca Casonato
034bee69e1
0.36.0 2021-12-03 14:21:45 +01:00
github-actions[bot]
0fb1ad288e
Rolling to V8 9.7.106.15 (#845) 2021-12-03 14:00:42 +01:00
github-actions[bot]
a0972be7af
Rolling to V8 9.7.106.14 (#844) 2021-12-02 12:54:01 +01:00
Sujay Jayakar
62d33c4d7e
Add Function::GetScript{Line,Column}Number bindings (#843) 2021-11-30 21:55:41 +01:00
github-actions[bot]
ae223c78b4
Rolling to V8 9.7.106.13 (#842) 2021-11-30 11:50:20 +01:00
github-actions[bot]
885d20eb18
Rolling to V8 9.7.106.9 (#841) 2021-11-25 12:35:06 +01:00
github-actions[bot]
b98254c65f
Rolling to V8 9.7.106.8 (#838) 2021-11-22 11:29:32 +01:00
github-actions[bot]
3a728b4192
Rolling to V8 9.7.106.7 (#837) 2021-11-20 13:27:26 +01:00
Bert Belder
2122a69c08
v0.35.0 2021-11-17 11:43:19 -08:00
Bert Belder
e68117c097
chore: upgrade Rust to 1.56.1 (#835) 2021-11-17 11:42:39 -08:00
Bert Belder
c4c48f30b1
v8: fix segfault during concurrent isolate creation/disposal on Windows (#829)
This patch includes a test for this issue.

The V8 patch is intentionally left simple to avoid merge conflicts in
the future. To be landed upstream, the `unwindinfo_use_count_` would
probably have to be made non-atomic and we'd have to add a cctest.

Upstream bug: https://bugs.chromium.org/p/v8/issues/detail?id=12393

Fixes: #714
2021-11-17 09:52:27 -08:00
github-actions[bot]
1d4be506be
Rolling to V8 9.7.106.5 (#834) 2021-11-17 12:14:43 +01:00
Andreu Botella
aac37a6d4f
refactor: Have BackingStore::data return Option<NonNull<c_void>> (#817)
The pointer returned by `BackingStore::data` might be null if the
backing store has zero length, but the return type `*mut c_void` does
not force the user to consider this case. This change makes the return
type `Option<NonNull<c_void>>`, which is semantically equivalent, but
which forces users of the API to handle the `None` case.

This is a breaking API change.
2021-11-17 12:14:03 +01:00
github-actions[bot]
845aced92c
Rolling to V8 9.7.106.4 (#832) 2021-11-14 12:38:39 +01:00
Rafael Ávila de Espíndola
833d558038
chore: Specify the rust toolchain version (#821)
Tests in tests/compile_fail/ depend on a specific toolchain version. For
example, they currently fail with 1.58.0-nightly because of extra
warnings.
2021-11-12 12:59:49 -08:00
github-actions[bot]
87498de644
Rolling to V8 9.7.106.3 (#831) 2021-11-10 13:19:45 -05:00
Rafael Ávila de Espíndola
a043407ae8
Make lifetime in FunctionCallback signature more restrictive (#822)
This makes the callbacks themselves less restrictive. A test is added
the would fail to compile before.
2021-11-08 12:51:53 -08:00
Luca Casonato
6094410c8d
v0.34.0 2021-11-08 11:18:57 +01:00
Luca Casonato
3c07f08fe6
Track V8 9.7 (#826) 2021-11-08 01:24:14 +01:00
github-actions[bot]
7cc28c5e47
Rolling to V8 9.7.106.2 (#827)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-11-08 01:24:05 +01:00
github-actions[bot]
314fe76bf2
Rolling to V8 9.6.180.10 (#824) 2021-11-07 00:48:55 +01:00
Rafael Ávila de Espíndola
f399732ba0
Ignore environment variables set by cargo (#825)
This avoids constant rebuilds when alternating between running

$ cargo build
$ cargo run <something that runs cargo build>

Since the second command will see these environment variables set
during the logic deciding if build.rs should be rerun or not.

Since these are cargo specific variables, hopefully cargo already does
the right thing without our help.
2021-11-04 14:16:05 -04:00
Ryan Dahl
8297216a1c
Narrow dead_code allowance (#818) 2021-10-28 16:29:04 -04:00
Luca Casonato
57a00141d7
0.33.0 2021-10-27 16:54:09 +02:00