Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ env:
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
SCCACHE_IDLE_TIMEOUT: '0'
RUSTC_VERSION: '1.82'
RUSTC_VERSION: '1.85'

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ env:
PYTHON_VERSION: '3.14'
XCODE_VERSION: '16.4'
FLAKY_TESTS: keep_retrying
RUSTC_VERSION: '1.82'
RUSTC_VERSION: '1.85'

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ Consult previous versions of this document for older versions of Node.js:
### Prerequisites

* [A supported version of Python][Python versions] for building and testing.
* A Rust toolchain (`rustc` >= 1.85, `cargo` >= 1.85) for compiling native
dependencies. See <https://rustup.rs/> for installation instructions.
* Memory: at least 8GB of RAM is typically required when compiling with 4 parallel jobs (e.g: `make -j4`)

### Unix and macOS
Expand Down
13 changes: 12 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,12 @@
default=False,
help='node will load builtin modules from disk instead of from binary')

parser.add_argument('--output-transpiled-ts',
action='store',
dest='output_transpiled_ts',
default='',
help='write transpiled TypeScript output to the given directory for debugging')

parser.add_argument('--node-snapshot-main',
action='store',
dest='node_snapshot_main',
Expand Down Expand Up @@ -1737,7 +1743,7 @@ def gcc_version_ge(version_checked):
return True

def configure_node_lib_files(o):
o['variables']['node_library_files'] = SearchFiles('lib', 'js')
o['variables']['node_library_files'] = SearchFiles('lib', 'js') + SearchFiles('lib', 'ts')

def configure_node_cctest_sources(o):
o['variables']['node_cctest_sources'] = [ 'src/node_snapshot_stub.cc' ] + \
Expand Down Expand Up @@ -1976,6 +1982,11 @@ def configure_node(o):
print('Warning! Loading builtin modules from disk is for development')
o['variables']['node_builtin_modules_path'] = options.node_builtin_modules_path

if options.output_transpiled_ts:
o['variables']['output_transpiled_ts'] = os.path.abspath(options.output_transpiled_ts)
else:
o['variables']['output_transpiled_ts'] = ''

def configure_napi(output):
version = getnapibuildversion.get_napi_version()
output['variables']['napi_build_version'] = version
Expand Down
Loading
Loading