| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 67d094a commit d99e0bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1045,11 +1045,24 @@ enable FIPS support in Node.js. | |||
| 1045 | 1045 | Node.js supports the [Temporal](https://github.com/tc39/proposal-temporal) APIs, when | |
| 1046 | 1046 | linking statically or dynamically with a version of [temporal\_rs](https://github.com/boa-dev/temporal). | |
| 1047 | 1047 | ||
| 1048 | - To build Node.js with Temporal support, a Rust toolchain is required: | ||
| 1048 | + Temporal support is enabled by default starting in Node.js 26. Building it | ||
| 1049 | + requires a Rust toolchain: | ||
| 1049 | 1050 | ||
| 1050 | 1051 | * rustc >= 1.82 (with LLVM >= 19) | |
| 1051 | 1052 | * cargo >= 1.82 | |
| 1052 | 1053 | ||
| 1054 | + If `--v8-enable-temporal-support` and `--v8-disable-temporal-support` are both | ||
| 1055 | + omitted, `configure.py` probes for `cargo` and `rustc`. If either is missing, | ||
| 1056 | + a warning is printed and Temporal support is disabled. | ||
| 1057 | + | ||
| 1058 | + * Pass `--v8-enable-temporal-support` to `configure.py` to require Temporal | ||
| 1059 | + support. The build will stop with an error if `cargo` or `rustc` cannot be | ||
| 1060 | + found. | ||
| 1061 | + * Pass `--v8-disable-temporal-support` to opt out of Temporal support and | ||
| 1062 | + remove the Rust toolchain requirement. | ||
| 1063 | + | ||
| 1064 | + Passing both options to `configure.py` is an error. | ||
| 1065 | + | ||
| 1053 | 1066 | ## Building Node.js with external core modules | |
| 1054 | 1067 | ||
| 1055 | 1068 | It is possible to specify one or more JavaScript text files to be bundled in | |
| Back | FazBrowse Home | New Git URL |
0 commit comments