Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -1045,11 +1045,24 @@ enable FIPS support in Node.js.
Node.js supports the [Temporal](https://github.com/tc39/proposal-temporal) APIs, when
linking statically or dynamically with a version of [temporal\_rs](https://github.com/boa-dev/temporal).

To build Node.js with Temporal support, a Rust toolchain is required:
Temporal support is enabled by default starting in Node.js 26. Building it
requires a Rust toolchain:

* rustc >= 1.82 (with LLVM >= 19)
* cargo >= 1.82

If `--v8-enable-temporal-support` and `--v8-disable-temporal-support` are both
omitted, `configure.py` probes for `cargo` and `rustc`. If either is missing,
a warning is printed and Temporal support is disabled.

* Pass `--v8-enable-temporal-support` to `configure.py` to require Temporal
support. The build will stop with an error if `cargo` or `rustc` cannot be
found.
* Pass `--v8-disable-temporal-support` to opt out of Temporal support and
remove the Rust toolchain requirement.

Passing both options to `configure.py` is an error.

## Building Node.js with external core modules

It is possible to specify one or more JavaScript text files to be bundled in
Expand Down
Loading