Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

  • none in “Not supported on” means the row works on every platform above.
  • all in a test column means the test runs on every platform above.
  • pending means the test is planned but does not run yet.
  • n/a means 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.

LanguageNot supported onDependenciesBenchFuzzbuild_testpass_testfail_testcoverage_testcross_testlock_test
Astrononenpmn/an/an/a: astro has no binary ruleallallalln/a: astro has no binary rulen/a: astro has no binary rule
Avrononenone: schemas only, no packagesn/an/an/a: avro has no binary rulen/a: avro has no test rulen/a: avro has no test rulen/a: avro has no test rulen/a: avro has no binary rulen/a: avro has no package manager
C and C++nonenone for vcpkg.json: there is no vcpkg setcc_benchcc_fuzz_testallallallallalln/a: cc has no package manager
C#nonenugetcsharp_benchcsharp_fuzz_testallallallallallall
CUDAmacos_arm64: NVIDIA ships no CUDA toolkit for macOSnone: the CUDA toolkit is a pinned downloadn/an/alinux_arm64, linux_x86_64, windows_arm64, windows_x86_64linux_arm64, linux_x86_64, windows_arm64, windows_x86_64linux_arm64, linux_x86_64, windows_arm64, windows_x86_64linux_arm64, linux_x86_64; n/a: nvcc host compiler on Windows is cl.exe, which has no coveragelinux_arm64, linux_x86_64, windows_arm64, windows_x86_64n/a: cuda has no package manager
Dnonedub (no advisories)d_benchd_fuzz_testallallallallallall
Dartnonepubdart_benchn/aallallallalllinux_arm64, linux_x86_64, macos_arm64; n/a: dart cross-compiles to linux only from a windows hostall
Elixirnonehexelixir_benchn/aallallallalllinux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64all
Erlangnonehex from hex.lock.json or an erlang.rebar rebar.lockerlang_benchn/aallallallalllinux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64all
Flutterwindows_arm64: rules_flutter 0.2.0 and Flutter 3.50.0 ship no Windows arm64 host SDK (flutter/private/toolchains_repo.bzl HOST_PLATFORMS)pubn/an/an/a: flutter has no binary rule that prints to stdoutlinux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64n/a: flutter has no binary rule that prints to stdoutn/a: flutter has no binary rule that prints to stdout
Fortranwindows_x86_64: not in lang.json platforms; windows_arm64: flang-releases v21.1.8 ships no Windows arm64 buildthe fpm.lock tag of the fpm extension builds the locked packages; dx security and dx license read it, dx update runs the fpm lock stepn/an/alinux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64pendinglinux_arm64, linux_x86_64, macos_arm64
F#nonenugetfsharp_benchfsharp_fuzz_testallallallallallall
Gononego; 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) ABIgo_benchgo_fuzz_testallallallallallall
Haskellwindows_arm64: GHC 9.10.3 ships no Windows arm64 bindisthackage from cabal.project.freeze; none for stack.yaml.lockhaskell_benchn/alinux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64; n/a: haskell supports no other windows platformlinux_arm64, linux_x86_64, macos_arm64, windows_x86_64
Javanonemavenjava_benchjava_fuzz_testallallallallallall
JavaScriptnonenpmjavascript_benchjavascript_fuzz_testallallallallallall
Juliawindows_arm64: julialang.org and rules_julia 0.8.0 ship no Windows arm64 Julia buildjuliajulia_benchn/alinux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64
Kotlinnonemavenkotlin_benchkotlin_fuzz_testallallallallallall
Luanoneluarocks (no advisories)lua_benchn/aallallallalln/a: lua_binary is a script the interpreter runs; it has no object formatall
MDXnonenpmn/an/an/a: mdx has no binary ruleallallalln/a: mdx has no binary rulen/a: mdx has no binary rule
OCamlwindows_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 packageopamocaml_benchocaml_fuzz_testlinux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64linux_arm64, linux_x86_64, macos_arm64
Perlnonecpanperl_benchn/aallallallalln/a: perl_binary is a script the interpreter runs; it has no object formatall
PHPwindows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 buildpackagistphp_benchn/alinux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64linux_arm64, linux_x86_64, macos_arm64, windows_x86_64n/a: php_binary is a script the interpreter runs; it has no object formatlinux_arm64, linux_x86_64, macos_arm64, windows_x86_64
PowerShellnonepowershell (no advisories)n/an/aallallallalln/a: powershell_binary is a script the interpreter runs; it has no object formatall
Protobufnonenone: schemas only, no packagesn/an/apendingpendingpendingpendingpendingpending
Pythonnoneuv; none for poetry.lock and Pipfile.lock: uv is the supported managerpython_benchpython_fuzz_testallallallalln/a: python_binary is a script the interpreter runs; it has no object formatall
Rubynonerubyruby_benchn/aallallallalln/a: ruby_binary is a script the interpreter runs; it has no object formatall
Rustnonecargorust_benchrust_fuzz_testallallallallallall
Scalanonemavenscala_benchscala_fuzz_testallallallallallall
Sveltenonenpmn/an/an/a: svelte has no binary ruleallallalln/a: svelte has no binary rulen/a: svelte has no binary rule
Swiftnoneswiftpmswift_benchswift_fuzz_testallallallalllinux_arm64, linux_x86_64; n/a: swift cross-compiles to linux only from a linux hostall
TypeScriptnonenpmtypescript_benchtypescript_fuzz_testallallallallallall
Vuenonenpmn/an/an/a: vue has no binary ruleallallalln/a: vue has no binary rulen/a: vue has no binary rule
Zignonezig_deps (build.zig.zon .dependencies, pinned by sha256)zig_benchn/aallallalllinux_arm64, linux_x86_64, macos_arm64, windows_arm64; pending on windows_x86_64allall

Targets

TargetNot supported on
Androidlinux_arm64: Google ships no Linux arm64 Android build-tools, platform-tools or NDK
AppImagemacos_arm64, windows_x86_64, windows_arm64: AppImage is a Linux format
Applelinux_x86_64, linux_arm64, windows_x86_64, windows_arm64: Apple toolchains (Xcode, codesign, iOS SDKs) run only on macOS
CMakenone
Dockerfilenone
Makenone
MSIXlinux_x86_64, linux_arm64, macos_arm64: MakeAppx and SignTool from the Windows SDK run only on Windows
Qtnone
WASInone

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.

CompilerDriverCoverageNot supported onBlocked on
GCC 16.2.0 (gcc)gnugcovmacos_arm64, windows_x86_64, windows_arm64: The GCC backend builds only for Linuxnone
LLVM 23.1.2 (llvm, default)gnullvmnonenone
Microsoft cl.exe (msvc)msvcnolinux_x86_64, linux_arm64, macos_arm64: Microsoft cl.exe runs only on Windowsnone

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.

NameLintFormatTypecheckAPI docsDead code
Astroeslint, typosprettiertscastro-compilereslint @typescript-eslint/no-unused-vars
Avroavro_tools, typosprettieravro_toolsavro-toolsnone
C and C++clang_tidy, typosclang_formatclang_syntaxdoxygen (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, typoscsharpiercsccsharp doc driverroslyn IDE0051, IDE0052, IDE0060, IDE0005
CUDAclang_tidy, typosclang_formatnvcc_syntaxdoxygen (not on linux_arm64: Doxygen publishes no official build for this host; windows_arm64: Doxygen publishes no official build for this host)none
Ddscanner, typosnoldcldc ddocnone
Dartdart, typosdartdartdart docdart unused_element
Elixircredo, typosmix_formatdialyzer, elixirc (not on windows_x86_64: The elixirc replay needs a POSIX shell; windows_arm64: The elixirc replay needs a POSIX shell)Code.fetch_docselixirc unused variable, unused function
Erlangelvis, typoserlfmtdialyzer, erlcedocerlc warn_unused_vars, warn_unused_function
Flutterdart, typosdartdartdart docdart unused_element
Fortranfortitude, typosnoflangfordfortitude C191 unreachable-statement
F#fsharplint, typosfantomasfscfsharp doc driverfsc FS1182 (--warnon:1182)
Goerrcheck, govet, staticcheck, typosgofumptgotypego docstaticcheck U1000
Haskellhlint, typos, weeder (not on windows_arm64: GHC 9.10.3 ships no Windows arm64 bindist)ormolughchaddockghc -Wunused-local-binds, -Wunused-matches (-Wall)
Javapmd, spotbugs, typosgoogle_java_formatjavacjavadocpmd UnusedLocalVariable, UnusedPrivateField, UnusedPrivateMethod, UnusedFormalParameter
JavaScriptbiome, eslint, typosbiometsctypedoceslint no-unused-vars
Juliajulialint (not on windows_arm64: Julia ships no windows_arm64 runtime), typosjulia_format (not on windows_arm64: Julia ships no windows_arm64 runtime)jetdocumenternone
Kotlindetekt, typosktfmtkotlincdokkadetekt
Luaselene (not on windows_arm64: the dx_quality_crates hub has no windows_arm64 cell), typosstylualualsldocselene unused_variable
MDXeslint, lychee, typosremarktscmdxeslint no-unused-vars
OCamltypos, 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)topiaryocamlodococamlc warnings 26, 27, 32 to 39
Perlperlcritic, typosperltidyn/apod (perl)perlcritic ProhibitUnusedVariables
PHPphpcs (not on windows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 build), typosprettierphpstan (not on windows_arm64: static-php-cli and windows.php.net ship no Windows arm64 PHP 8.5 build)phpdocumentorphpcs Generic.CodeAnalysis.UnusedFunctionParameter
PowerShellpsscriptanalyzer, typospsscriptanalyzern/apwshpsscriptanalyzer PSUseDeclaredVarsMoreThanAssignments
Protobufbuf, typosbufbufprotocnone
Pythonpydoclint, ruff, typosrufftygrifferuff F401, F841
Rubyrubocop, typosrubocopsorbet (not on windows_x86_64: Sorbet ships no Windows build; windows_arm64: Sorbet ships no Windows build)yardrubocop Lint/UselessAssignment
Rustclippy, typosrustfmtrustcrustdocrustc dead_code
Scalascalafix, typosscalafmtscalacscaladocscalac -Wunused
Svelteeslint, typosprettiertscsvelte2tsxeslint @typescript-eslint/no-unused-vars
Swiftswift_lint, typosswift_formatswiftcswift-symbolgraph-extractno
TypeScriptbiome, eslint, typosbiometsctypedoceslint no-unused-vars
Vueeslint, typosprettiertscvue-component-metaeslint @typescript-eslint/no-unused-vars
Zigtypos, zig_ast_checkzig_fmtzigzig std.zig.Astzig ast-check unused local, unused parameter
Appleclang_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), typosclang_formatclang_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/an/a
CMakecmakelint, typosgersemin/an/an/a
Dockerfilehadolint, typosprettiern/an/an/a
Makecheckmake, typosmbaken/an/an/a
Qtqmllint, typosqmlformatqmllintn/an/a
Ansibleansible_lint (not on windows_x86_64: ansible-core does not run on Windows; windows_arm64: ansible-core does not run on Windows), typosyamlfmtn/an/an/a
API specsredocly, typosprettiern/an/an/a
AsciiDoclychee, typos, valen/an/an/an/a
Bicepbicep, trivy_config, typosbicepn/an/an/a
Cap’n Protocapnp, typosn/acapnpn/an/a
CloudFormationcfn_lint, trivy_config, typosprettiern/an/an/a
CSSstylelint, typosprettiern/an/an/a
CUEn/acuecuen/an/a
FlatBuffersflatc, typosn/aflatcn/an/a
Gherkingplint, typosprettiern/an/an/a
GitHub workflowsactionlint, zizmoryamlfmtn/an/an/a
GraphQLgraphql_eslint, typosprettiergraphql_eslintn/an/a
Helmhelm, trivy_config, typosprettiern/an/an/a
HTML templatesdjlint, typosdjlintn/an/an/a
Jsonnetjsonnet_lint, typosjsonnetfmtn/an/an/a
Jupyternotebook_outputs, ruffrufftyn/an/a
Kuberneteskubeconform, trivy_config, typosyamlfmtn/an/an/a
LaTeXchktex, typoslatexindentn/an/an/a
Markdownlychee, markdown_check, typos, valeprettiern/an/an/a
Nixdeadnix (not on windows_arm64: the dx_quality_crates hub has no windows_arm64 cell), typosnixfmt (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/an/adeadnix
OCI imagestrivy_image_confign/acontainer_structure_testn/an/a
Pklpkl_lsp, typospklpkln/an/a
Regoregal, typosopaopan/an/a
reStructuredTextlychee, typos, valedocstrfmtn/an/an/a
Shellshellcheck, typosshfmtn/an/ashellcheck SC2034
SQLsqlfluff, typossqlfluffn/an/an/a
Starlarkbuildifier, typosbuildifiern/an/abuildifier unused-variable
Terraformtflint, trivy_config, typosterraformterraformn/an/a
Thriftthrift, typosn/athriftn/an/a
TOMLtaplo, tombi, typostaplo, tombitaplon/an/a
Typsttinymist, typostypstylen/an/an/a
XMLtypos, xml_checkprettiern/an/an/a
YAMLtypos, yamllintyamlfmtn/an/an/a

Not applicable

Not applicable for format:

  • asciidoc: markup; no maintained AsciiDoc formatter exists, asciidoctor only converts
  • capnp: schema IDL; no maintained .capnp formatter exists, capnp only validates
  • flatbuffers: schema IDL; no maintained .fbs formatter exists, flatc only validates
  • oci_image: image config; an image is a tar of layers, not text
  • thrift: 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-lint
  • api_spec: declarative API description; no type system beyond schema validation
  • asciidoc: markup; no static type system
  • bicep: declarative templates; bicep lint already reports compile errors and analyzer rules, so there is no separate type check
  • cloudformation: declarative templates; cfn-lint schema validation is lint, not type checking
  • cmake: no static type system; build language with untyped strings
  • core: workflow YAML; actionlint already checks expressions in lint
  • css: no static type system; stylelint covers lint
  • dockerfile: no static type system; hadolint covers lint
  • gherkin: natural-language scenarios; no type system
  • helm: chart lint plus schema validation of rendered manifests
  • html_template: markup templates; no static type system
  • jsonnet: dynamically typed; no maintained type checker (the official linter only flags unused variables)
  • kubernetes: declarative manifests; schema validation is not type checking
  • latex: typesetting macro language; no static type system
  • make: no static type system; build language with untyped strings
  • markdown: markup; no static type system
  • nix: dynamically typed expression language; no maintained type checker
  • perl: dynamically typed; no maintained type checker
  • powershell: no type checker; PSScriptAnalyzer is a linter only
  • rst: markup; no static type system
  • shell: no static type system; shellcheck covers lint
  • sql: type checking needs a database schema and dialect; standalone .sql files carry neither
  • starlark: dynamically typed; no maintained standalone type checker, buildifier covers lint
  • typst: dynamically typed markup; no standalone type checker
  • xml: data format; schema validation is not type checking
  • yaml: 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.

RuleTool
conan_deploynot available
cpan_deploynot available
crates_deploycargo-semver-checks
github_deployapidiff
hackage_deploynot available
hex_deploynot available
luarocks_deploynot available
maven_deployjapicmp
npm_deployapi-extractor
nuget_deployMicrosoft.DotNet.ApiCompat
pub_deploydart_apitool
pypi_deploygriffe
rubygems_deploynot available