| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
It won't work until we build `temporal_capi`, but is a step forward. Refs: nodejs#58730
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
I'm getting ../../deps/v8/src/objects/js-temporal-objects.h:27:10: fatal error: 'torque-generated/src/objects/js-temporal-objects-tq.inc' file not found, do we need to add an instruction, in v8.gyp maybe? |
Sorry, something went wrong.
|
As written in the commit message, this won't work. |
Sorry, something went wrong.
|
I don't want to be blocking progress on this work, so I'm trying to include the results of my experiments in small steps so that someone else can build on it (and doesn't have to start from scratch) |
Sorry, something went wrong.
|
The commit message makes it sound like the only thing I need to do is to provide a build version of temporal_rs, which is what I've done but I'm getting the error above, so I do think something's missing here. I'm suggesting v8.gyp in case this was somewhat similar to the wasm and icu integration: Lines 24 to 35 in a201250 |
Sorry, something went wrong.
|
There are many things missing, and I intend to do other PRs after this one. I thought it would be easier to get the changes in small steps 😄. |
Sorry, something went wrong.
|
FWIW if I apply the following diff: diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
index c3ec7e3ee92..71d27300d66 100644
--- a/tools/v8_gypfiles/v8.gyp
+++ b/tools/v8_gypfiles/v8.gyp
@@ -27,6 +27,11 @@
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "torque_files =.*?v8_enable_i18n_support.*?torque_files \\+= ")',
],
}],
+ ['v8_enable_temporal_support==1', {
+ 'torque_files': [
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "torque_files =.*?v8_enable_temporal_support.*?torque_files \\+= ")',
+ ],
+ }],
['v8_enable_webassembly==1', {
'torque_files': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "torque_files =.*?v8_enable_webassembly.*?torque_files \\+= ")',I get further, but I'm getting another error: deps/v8/src/objects/js-date-time-format.cc:949:10: error: use of undeclared identifier 'HijriSimulatedMecca' |
Sorry, something went wrong.
|
https://github.com/targos/node/tree/v8-temporal contains this change and other similar ones. |
Sorry, something went wrong.
|
HijriSimulatedMecca was removed in temporal_rs 0.1.1. We should continue use temporal_rs 0.1.0 in this V8 version. |
Sorry, something went wrong.
|
Chromium is already using v0.1.2, I expect V8 will catch up soon if they haven't already: chromium/chromium@f700ec5 EDIT: indeed, v8/v8@0cbecc1 |
Sorry, something went wrong.
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #60703 Refs: #58730 Refs: #60693 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #60703 Refs: #58730 Refs: #60693 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #60703 Refs: #58730 Refs: #60693 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-Authored-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #60703 Refs: #58730 Refs: #60693 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
| Back | FazBrowse Home | New Git URL |
It won't work until we build temporal_capi, but is a step forward.
Refs: #58730