Compiler
Bazel acquires the Clang and target SDK versions selected by the repository.
Tetrodotoxin's Bazel toolchain turns one project definition into the repository's development and release environment. The project retains its own architecture.
Bazel acquires the Clang and target SDK versions selected by the repository.
One target generates the formatter, build, validation and debugging setup used by VS Code.
Source policy and runtime validation use the same repository entry points.
Published packages retain component boundaries and platform link requirements.
The root targets are the public workflow. The command line and generated editor tasks call them directly.
bazel run :vscode
bazel run :format -- --check
bazel build //source/...
bazel run :tests
bazel run :benchmarks --config=release
bazel build :sdk --config=release
bazel run :snapshotsource/ owns the library. validation/ supplies tests, benchmarks and runtime data to the shared root targets.
Tests and benchmarks are standalone programs, so the same binary can run under Bazel, a debugger or an independent validation host.
Cross-builds use pinned target SDKs. Web validation can execute through the pinned Node host when the project supports it.
Binary SDKs carry their declared link dependencies. Source snapshots preserve the clean repository that produced a release.
Toolchain 0.4.1 publishes the reproducible source archive and hash used by current Tetrodotoxin projects. Pin that archive in MODULE.bazel, choose the targets your project supports and let Bazel acquire the matching environment.