Support matrix
This page shows you which platforms each language, target, and C/C++ compiler works on, and which tools dx lint, dx format, and dx typecheck run for it.
rules_dx supports these platforms: linux_x86_64, linux_arm64, macos_arm64, windows_x86_64, windows_arm64. CI also runs on macos_x86_64, which no language claims yet.
How to read the tables
nonein “Not supported on” means the row works on every platform above.allin a test column means the test runs on every platform above.pendingmeans the test is planned but does not run yet.n/ameans the column does not apply to that row; a reason follows when there is one.
This page is generated. Do not edit it by hand. Run bazel run //tools/docs/support_matrix:update to refresh it.
Languages
The build_test through lock_test columns are conformance tests: shared tests every language runs. Each cell names the platforms the test runs on. Bench and Fuzz name the rule you use for benchmarks and fuzz tests.
| Language | Not supported on | Dependencies | Bench | Fuzz | build_test | pass_test | fail_test | coverage_test | cross_test | lock_test |
|---|---|---|---|---|---|---|---|---|---|---|
| Astro | none | npm | n/a | n/a | n/a: astro has no binary rule | all | all | all | n/a: astro has no binary rule | n/a: astro has no binary rule |
| Avro | none | none: schemas only, no packages | n/a | n/a | n/a: avro has no binary rule | n/a: avro has no test rule | n/a: avro has no test rule | n/a: avro has no test rule | n/a: avro has no binary rule | n/a: avro has no package manager |
| C and C++ | none | none for vcpkg.json: there is no vcpkg set | cc_bench | cc_fuzz_test | all | all | all | all | all | n/a: cc has no package manager |
| C# | none | nuget | csharp_bench | csharp_fuzz_test | all | all | all | all | all | all |
| CUDA | macos_arm64: NVIDIA ships no CUDA toolkit for macOS | none: the CUDA toolkit is a pinned download | n/a | n/a | linux_arm64, linux_x86_64, windows_arm64, windows_x86_64 | linux_arm64, linux_x86_64, windows_arm64, windows_x86_64 | linux_arm64, linux_x86_64, windows_arm64, windows_x86_64 | linux_arm64, linux_x86_64; n/a: nvcc host compiler on Windows is cl.exe, which has no coverage | linux_arm64, linux_x86_64, windows_arm64, windows_x86_64 | n/a: cuda has no package manager |
| D | none | dub (no advisories) | d_bench | d_fuzz_test | all | all | all | all | all | all |
| Dart | none | pub | dart_bench | n/a | all | all | all | all | linux_arm64, linux_x86_64, macos_arm64; n/a: dart cross-compiles to linux only from a windows host | all |
| Elixir | none | hex | elixir_bench | n/a | all | all | all | all | linux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64 | all |
| Erlang | none | hex from hex.lock.json or an erlang.rebar rebar.lock | erlang_bench | n/a | all | all | all | all | linux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64 | all |
| Flutter | windows_arm64: rules_flutter 0.2.0 and Flutter 3.50.0 ship no Windows arm64 host SDK (flutter/private/toolchains_repo.bzl HOST_PLATFORMS) | pub | n/a | n/a | n/a: flutter has no binary rule that prints to stdout | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | n/a: flutter has no binary rule that prints to stdout | n/a: flutter has no binary rule that prints to stdout |
| Fortran | windows_x86_64: not in lang.json platforms; windows_arm64: flang-releases v21.1.8 ships no Windows arm64 build | the fpm.lock tag of the fpm extension builds the locked packages; dx security and dx license read it, dx update runs the fpm lock step | n/a | n/a | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | pending | linux_arm64, linux_x86_64, macos_arm64 |
| F# | none | nuget | fsharp_bench | fsharp_fuzz_test | all | all | all | all | all | all |
| Go | none | go; cgo is not supported on windows_x86_64 and windows_arm64: the hermetic Windows toolchain is MSVC ABI only, and cgo needs the MinGW (GNU) ABI | go_bench | go_fuzz_test | all | all | all | all | all | all |
| Haskell | windows_arm64: GHC 9.10.3 ships no Windows arm64 bindist | hackage from cabal.project.freeze; none for stack.yaml.lock | haskell_bench | n/a | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64; n/a: haskell supports no other windows platform | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 |
| Java | none | maven | java_bench | java_fuzz_test | all | all | all | all | all | all |
| JavaScript | none | npm | javascript_bench | javascript_fuzz_test | all | all | all | all | all | all |
| Julia | windows_arm64: julialang.org and rules_julia 0.8.0 ship no Windows arm64 Julia build | julia | julia_bench | n/a | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 |
| Kotlin | none | maven | kotlin_bench | kotlin_fuzz_test | all | all | all | all | all | all |
| Lua | none | luarocks (no advisories) | lua_bench | n/a | all | all | all | all | n/a: lua_binary is a script the interpreter runs; it has no object format | all |
| MDX | none | npm | n/a | n/a | n/a: mdx has no binary rule | all | all | all | n/a: mdx has no binary rule | n/a: mdx has no binary rule |
| OCaml | windows_x86_64: conda-forge win-64 OCaml stops at 5.3.0, below the pinned 5.5.2; windows_arm64: conda-forge ships no win-arm64 OCaml package | opam | ocaml_bench | ocaml_fuzz_test | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 | linux_arm64, linux_x86_64, macos_arm64 |
| Perl | none | cpan | perl_bench | n/a | all | all | all | all | n/a: perl_binary is a script the interpreter runs; it has no object format | all |
| PHP | windows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 build | packagist | php_bench | n/a | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 | n/a: php_binary is a script the interpreter runs; it has no object format | linux_arm64, linux_x86_64, macos_arm64, windows_x86_64 |
| PowerShell | none | powershell (no advisories) | n/a | n/a | all | all | all | all | n/a: powershell_binary is a script the interpreter runs; it has no object format | all |
| Protobuf | none | none: schemas only, no packages | n/a | n/a | pending | pending | pending | pending | pending | pending |
| Python | none | uv; none for poetry.lock and Pipfile.lock: uv is the supported manager | python_bench | python_fuzz_test | all | all | all | all | n/a: python_binary is a script the interpreter runs; it has no object format | all |
| Ruby | none | ruby | ruby_bench | n/a | all | all | all | all | n/a: ruby_binary is a script the interpreter runs; it has no object format | all |
| Rust | none | cargo | rust_bench | rust_fuzz_test | all | all | all | all | all | all |
| Scala | none | maven | scala_bench | scala_fuzz_test | all | all | all | all | all | all |
| Svelte | none | npm | n/a | n/a | n/a: svelte has no binary rule | all | all | all | n/a: svelte has no binary rule | n/a: svelte has no binary rule |
| Swift | none | swiftpm | swift_bench | swift_fuzz_test | all | all | all | all | linux_arm64, linux_x86_64; n/a: swift cross-compiles to linux only from a linux host | all |
| TypeScript | none | npm | typescript_bench | typescript_fuzz_test | all | all | all | all | all | all |
| Vue | none | npm | n/a | n/a | n/a: vue has no binary rule | all | all | all | n/a: vue has no binary rule | n/a: vue has no binary rule |
| Zig | none | zig_deps (build.zig.zon .dependencies, pinned by sha256) | zig_bench | n/a | all | all | all | linux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64 | all | all |
Targets
| Target | Not supported on |
|---|---|
| Android | linux_arm64: Google ships no Linux arm64 Android build-tools, platform-tools or NDK |
| AppImage | macos_arm64, windows_x86_64, windows_arm64: AppImage is a Linux format |
| Apple | linux_x86_64, linux_arm64, windows_x86_64, windows_arm64: Apple toolchains (Xcode, codesign, iOS SDKs) run only on macOS |
| CMake | none |
| Dockerfile | none |
| Make | none |
| MSIX | linux_x86_64, linux_arm64, macos_arm64: MakeAppx and SignTool from the Windows SDK run only on Windows |
| Qt | none |
| WASI | none |
Compilers
Pick a compiler with --@rules_dx//cc:compiler=<value>, for example --@rules_dx//cc:compiler=gcc. “Blocked on” names a platform the compiler is meant to support but is not yet proven on, with the reason.
| Compiler | Driver | Coverage | Not supported on | Blocked on |
|---|---|---|---|---|
GCC 16.2.0 (gcc) | gnu | gcov | macos_arm64, windows_x86_64, windows_arm64: The GCC backend builds only for Linux | none |
LLVM 23.1.2 (llvm, default) | gnu | llvm | none | none |
Microsoft cl.exe (msvc) | msvc | no | linux_x86_64, linux_arm64, macos_arm64: Microsoft cl.exe runs only on Windows | none |
Quality
Each cell names the tool dx lint, dx format, or dx typecheck runs for that row, and the tool that builds its API docs. A tool runs on every platform its row supports unless a note says otherwise. “Dead code” names the tool and rule that report unused code, no when none runs yet, or none when the language has no such tool.
| Name | Lint | Format | Typecheck | API docs | Dead code |
|---|---|---|---|---|---|
| Astro | eslint, typos | prettier | tsc | astro-compiler | eslint @typescript-eslint/no-unused-vars |
| Avro | avro_tools, typos | prettier | avro_tools | avro-tools | none |
| C and C++ | clang_tidy, typos | clang_format | clang_syntax | doxygen (not on linux_arm64: Doxygen publishes no official build for this host; windows_arm64: Doxygen publishes no official build for this host) | clang_tidy misc-unused-parameters, misc-unused-using-decls |
| C# | roslyn, typos | csharpier | csc | csharp doc driver | roslyn IDE0051, IDE0052, IDE0060, IDE0005 |
| CUDA | clang_tidy, typos | clang_format | nvcc_syntax | doxygen (not on linux_arm64: Doxygen publishes no official build for this host; windows_arm64: Doxygen publishes no official build for this host) | none |
| D | dscanner, typos | no | ldc | ldc ddoc | none |
| Dart | dart, typos | dart | dart | dart doc | dart unused_element |
| Elixir | credo, typos | mix_format | dialyzer, elixirc (not on windows_x86_64: The elixirc replay needs a POSIX shell; windows_arm64: The elixirc replay needs a POSIX shell) | Code.fetch_docs | elixirc unused variable, unused function |
| Erlang | elvis, typos | erlfmt | dialyzer, erlc | edoc | erlc warn_unused_vars, warn_unused_function |
| Flutter | dart, typos | dart | dart | dart doc | dart unused_element |
| Fortran | fortitude, typos | no | flang | ford | fortitude C191 unreachable-statement |
| F# | fsharplint, typos | fantomas | fsc | fsharp doc driver | fsc FS1182 (--warnon:1182) |
| Go | errcheck, govet, staticcheck, typos | gofumpt | gotype | go doc | staticcheck U1000 |
| Haskell | hlint, typos, weeder (not on windows_arm64: GHC 9.10.3 ships no Windows arm64 bindist) | ormolu | ghc | haddock | ghc -Wunused-local-binds, -Wunused-matches (-Wall) |
| Java | pmd, spotbugs, typos | google_java_format | javac | javadoc | pmd UnusedLocalVariable, UnusedPrivateField, UnusedPrivateMethod, UnusedFormalParameter |
| JavaScript | biome, eslint, typos | biome | tsc | typedoc | eslint no-unused-vars |
| Julia | julialint (not on windows_arm64: Julia ships no windows_arm64 runtime), typos | julia_format (not on windows_arm64: Julia ships no windows_arm64 runtime) | jet | documenter | none |
| Kotlin | detekt, typos | ktfmt | kotlinc | dokka | detekt |
| Lua | selene (not on windows_arm64: the dx_quality_crates hub has no windows_arm64 cell), typos | stylua | luals | ldoc | selene unused_variable |
| MDX | eslint, lychee, typos | remark | tsc | mdx | eslint no-unused-vars |
| OCaml | typos, zanuda (not on windows_x86_64: zanuda needs the .cmt files of an OCaml build, and OCaml has no Windows cell; windows_arm64: zanuda needs the .cmt files of an OCaml build, and OCaml has no Windows cell) | topiary | ocaml | odoc | ocamlc warnings 26, 27, 32 to 39 |
| Perl | perlcritic, typos | perltidy | n/a | pod (perl) | perlcritic ProhibitUnusedVariables |
| PHP | phpcs (not on windows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 build), typos | prettier | phpstan (not on windows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 build) | phpdocumentor | phpcs Generic.CodeAnalysis.UnusedFunctionParameter |
| PowerShell | psscriptanalyzer, typos | psscriptanalyzer | n/a | pwsh | psscriptanalyzer PSUseDeclaredVarsMoreThanAssignments |
| Protobuf | buf, typos | buf | buf | protoc | none |
| Python | pydoclint, ruff, typos | ruff | ty | griffe | ruff F401, F841 |
| Ruby | rubocop, typos | rubocop | sorbet (not on windows_x86_64: Sorbet ships no Windows build; windows_arm64: Sorbet ships no Windows build) | yard | rubocop Lint/UselessAssignment |
| Rust | clippy, typos | rustfmt | rustc | rustdoc | rustc dead_code |
| Scala | scalafix, typos | scalafmt | scalac | scaladoc | scalac -Wunused |
| Svelte | eslint, typos | prettier | tsc | svelte2tsx | eslint @typescript-eslint/no-unused-vars |
| Swift | swift_lint, typos | swift_format | swiftc | swift-symbolgraph-extract | no |
| TypeScript | biome, eslint, typos | biome | tsc | typedoc | eslint no-unused-vars |
| Vue | eslint, typos | prettier | tsc | vue-component-meta | eslint @typescript-eslint/no-unused-vars |
| Zig | typos, zig_ast_check | zig_fmt | zig | zig std.zig.Ast | zig ast-check unused local, unused parameter |
| Apple | clang_tidy (not on linux_x86_64: objc_library builds only with an Apple toolchain; linux_arm64: objc_library builds only with an Apple toolchain; windows_x86_64: objc_library builds only with an Apple toolchain; windows_arm64: objc_library builds only with an Apple toolchain), typos | clang_format | clang_syntax (not on linux_x86_64: objc_library builds only with an Apple toolchain; linux_arm64: objc_library builds only with an Apple toolchain; windows_x86_64: objc_library builds only with an Apple toolchain; windows_arm64: objc_library builds only with an Apple toolchain) | n/a | n/a |
| CMake | cmakelint, typos | gersemi | n/a | n/a | n/a |
| Dockerfile | hadolint, typos | prettier | n/a | n/a | n/a |
| Make | checkmake, typos | mbake | n/a | n/a | n/a |
| Qt | qmllint, typos | qmlformat | qmllint | n/a | n/a |
| Ansible | ansible_lint (not on windows_x86_64: ansible-core does not run on Windows; windows_arm64: ansible-core does not run on Windows), typos | yamlfmt | n/a | n/a | n/a |
| API specs | redocly, typos | prettier | n/a | n/a | n/a |
| AsciiDoc | lychee, typos, vale | n/a | n/a | n/a | n/a |
| Bicep | bicep, trivy_config, typos | bicep | n/a | n/a | n/a |
| Cap’n Proto | capnp, typos | n/a | capnp | n/a | n/a |
| CloudFormation | cfn_lint, trivy_config, typos | prettier | n/a | n/a | n/a |
| CSS | stylelint, typos | prettier | n/a | n/a | n/a |
| CUE | n/a | cue | cue | n/a | n/a |
| FlatBuffers | flatc, typos | n/a | flatc | n/a | n/a |
| Gherkin | gplint, typos | prettier | n/a | n/a | n/a |
| GitHub workflows | actionlint, zizmor | yamlfmt | n/a | n/a | n/a |
| GraphQL | graphql_eslint, typos | prettier | graphql_eslint | n/a | n/a |
| Helm | helm, trivy_config, typos | prettier | n/a | n/a | n/a |
| HTML templates | djlint, typos | djlint | n/a | n/a | n/a |
| Jsonnet | jsonnet_lint, typos | jsonnetfmt | n/a | n/a | n/a |
| Jupyter | notebook_outputs, ruff | ruff | ty | n/a | n/a |
| Kubernetes | kubeconform, trivy_config, typos | yamlfmt | n/a | n/a | n/a |
| LaTeX | chktex, typos | latexindent | n/a | n/a | n/a |
| Markdown | lychee, markdown_check, typos, vale | prettier | n/a | n/a | n/a |
| Nix | deadnix (not on windows_arm64: the dx_quality_crates hub has no windows_arm64 cell), typos | nixfmt (not on windows_x86_64: nixfmt depends on the unix package and does not build on Windows; windows_arm64: nixfmt depends on the unix package and does not build on Windows) | n/a | n/a | deadnix |
| OCI images | trivy_image_config | n/a | container_structure_test | n/a | n/a |
| Pkl | pkl_lsp, typos | pkl | pkl | n/a | n/a |
| Rego | regal, typos | opa | opa | n/a | n/a |
| reStructuredText | lychee, typos, vale | docstrfmt | n/a | n/a | n/a |
| Shell | shellcheck, typos | shfmt | n/a | n/a | shellcheck SC2034 |
| SQL | sqlfluff, typos | sqlfluff | n/a | n/a | n/a |
| Starlark | buildifier, typos | buildifier | n/a | n/a | buildifier unused-variable |
| Terraform | tflint, trivy_config, typos | terraform | terraform | n/a | n/a |
| Thrift | thrift, typos | n/a | thrift | n/a | n/a |
| TOML | taplo, tombi, typos | taplo, tombi | taplo | n/a | n/a |
| Typst | tinymist, typos | typstyle | n/a | n/a | n/a |
| XML | typos, xml_check | prettier | n/a | n/a | n/a |
| YAML | typos, yamllint | yamlfmt | n/a | n/a | n/a |
Not applicable
Not applicable for format:
asciidoc: markup; no maintained AsciiDoc formatter exists, asciidoctor only convertscapnp: schema IDL; no maintained .capnp formatter exists, capnp only validatesflatbuffers: schema IDL; no maintained .fbs formatter exists, flatc only validatesoci_image: image config; an image is a tar of layers, not textthrift: schema IDL; the thrift compiler has no formatter, it only validates
Not applicable for lint:
cue: cue vet is the only CUE analysis and it is already the typecheck capability; the pinned cue binary has no separate linter
Not applicable for typecheck:
ansible: dynamically typed YAML playbooks; no type system beyond ansible-lintapi_spec: declarative API description; no type system beyond schema validationasciidoc: markup; no static type systembicep: declarative templates; bicep lint already reports compile errors and analyzer rules, so there is no separate type checkcloudformation: declarative templates; cfn-lint schema validation is lint, not type checkingcmake: no static type system; build language with untyped stringscore: workflow YAML; actionlint already checks expressions in lintcss: no static type system; stylelint covers lintdockerfile: no static type system; hadolint covers lintgherkin: natural-language scenarios; no type systemhelm: chart lint plus schema validation of rendered manifestshtml_template: markup templates; no static type systemjsonnet: dynamically typed; no maintained type checker (the official linter only flags unused variables)kubernetes: declarative manifests; schema validation is not type checkinglatex: typesetting macro language; no static type systemmake: no static type system; build language with untyped stringsmarkdown: markup; no static type systemnix: dynamically typed expression language; no maintained type checkerperl: dynamically typed; no maintained type checkerpowershell: no type checker; PSScriptAnalyzer is a linter onlyrst: markup; no static type systemshell: no static type system; shellcheck covers lintsql: type checking needs a database schema and dialect; standalone .sql files carry neitherstarlark: dynamically typed; no maintained standalone type checker, buildifier covers linttypst: dynamically typed markup; no standalone type checkerxml: data format; schema validation is not type checkingyaml: data format; schema validation is not type checking
API compatibility check
The tool each publishing rule runs for api_compat, or not available when no maintained free tool exists.
| Rule | Tool |
|---|---|
conan_deploy | not available |
cpan_deploy | not available |
crates_deploy | cargo-semver-checks |
github_deploy | apidiff |
hackage_deploy | not available |
hex_deploy | not available |
luarocks_deploy | not available |
maven_deploy | japicmp |
npm_deploy | api-extractor |
nuget_deploy | Microsoft.DotNet.ApiCompat |
pub_deploy | dart_apitool |
pypi_deploy | griffe |
rubygems_deploy | not available |