mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Updates the `tracing` crate and its related dependencies to their latest versions: - `tracing`: 0.1.37 → 0.1.44 - `tracing-attributes`: 0.1.30 → 0.1.31 - `tracing-core`: 0.1.34 → 0.1.36 ### Why? Keep Rust dependencies up to date with security patches and performance improvements. ### How? Updated the version specification in `Cargo.toml` and regenerated `Cargo.lock`. <!-- NEXT_JS_LLM_PR -->
next-build-test
This binary lets you sidestep all of the node bundling and run a turbo build against a raw rust binary. It does not do everything nextjs does, but it is an ok approximation.
Getting started
You will need a project_options file that points to some nextjs repo that has
its dependencies installed. The easiest way to do that is to run a nextjs
build using a modified binary that produces one out for you or to run the
generate command and tweak it manually. We cannot bundle one in the repo,
since it needs fs-specific paths and env vars.
You can run the binary with the generate flag to build one for you.
cargo run -- generate /path/to/project > project_options.json
cargo run -- run
Flags
The run command supports 4 flags:
strategycan be one of sequential, concurrent, or parallel. defines how work is structuredfactordefined how many pages should be built at once. defaults to num_cpuslimitdefines the highest number of pages to build. the pages are shuffled deterministically. defaults to 1 pagepagesa comma separated list of routes to run. queues that precise set in the order specified