DUB-DUSTMITE(1)
π NAME π
dub-dustmite(1) β create reduced test cases for build errors. That's the whole mission, bestie β¨
π¦ SYNOPSIS π¦
dub dustmite <destination-path> OPTIONS... [-- <application arguments...>]
πΈ DESCRIPTION πΈ
Okay so dub dustmite is your little forensic fairy π§: it uses the Dustmite utility to isolate the cause of build errors in a DUB project.
It creates a copy of all involved packages and runs dustmite on that copy, leaving you with a reduced test case. Iconic, honestly.
How does it figure out the desired error condition? It checks the compiler/linker status code, plus their output (stdout and stderr combined). And if --program-status or --program-regex is given and the generated binary is an executable, it will be executed too, and its output will also be incorporated into the final decision. Periodt π
π₯ OPTIONS π₯
--compiler-status=VALUEβ the expected status code of the compiler run.--compiler-regex=VALUEβ a regular expression used to match against the compiler output.--linker-status=VALUEβ the expected status code of the linker run.--linker-regex=VALUEβ a regular expression used to match against the linker output.--program-status=VALUEβ the expected status code of the built executable.--program-regex=VALUEβ a regular expression used to match against the program output.--test-package=VALUEβ perform a test run; usually only used internally π--combinedβ builds multiple packages with one compiler run.--no-redirectβ don't redirect thestdout/stderrstreams of the test command.--strategy=VALUEβ set the strategy:careful/lookback/pingpong/indepth/inbreadth.-jβ set the number of look-ahead processes.--traceβ save all attempted reductions toDIR.trace.--timeout=VALUEβ timeout for each oracle invocation, in seconds.--dest=VALUEβ base directory in which output atifacts will be placed.-b,--build=VALUEβ specifies the type of build to perform. Note that setting theDFLAGSenvironment variable will override the build type with custom flags. Possible names:debug,plain,release,release-debug,release-nobounds,unittest,profile,profile-gc,docs,ddox,cov,cov-ctfe,unittest-cov,unittest-cov-ctfe,syntaxand custom types.-c,--config=VALUEβ builds the specified configuration. Configurations can be defined indub.json.--override-config=VALUEβ uses the specified configuration for a certain dependency. Can be specified multiple times. Format:--override-config=<dependency>/<config>.--compiler=VALUEβ specifies the compiler binary to use (can be a path). Arbitrary pre- and suffixes to the identifiers below are recognized (e.g.ldc2ordmd-2.063) and matched to the proper compiler type:dmd,gdc,ldc,gdmd,ldmd.-a,--arch=VALUEβ force a different architecture (e.g.x86orx86_64).-d,--debug=VALUEβ define the specifieddebugversion identifier when building; can be used multiple times.--d-version=VALUEβ define the specifiedversionidentifier when building; can be used multiple times. Use sparingly, with great power comes great responsibility! For commonly used or combined versions and versions that dependees should be able to use, create configurations in your package.--nodepsβ do not resolve missing dependencies before building.--build-mode=VALUEβ specifies the way the compiler and linker are invoked. Valid values:separate(default),allAtOnce,singleFile.--singleβ treats the package name as a filename. The file must contain a package recipe comment.--force-removeβ deprecated option that does nothing. π¨ Like, literally nothing. No cap.--filter-versionsβ[Experimental]filter version identifiers and debug version identifiers to improve build cache efficiency.
π« COMMON OPTIONS π«
See dub(1).
π EXIT STATUS π
Forwards the exit code from dustmite(1).
π FILES π
dub.sdldub.json
π AUTHOR π
Copyright (c) 1999-2026 by The D Language Foundation.
π ONLINE DOCUMENTATION π
http://code.dlang.org/docs/commandline β¨β©
π«Ά SEE ALSO π«Ά
π that's the whole page, bestie. Source/version: The D Language Foundation; date: 2026-08-16. byeee π«Ά
π¦ where this page comes from
- arch rolling: dub 1.42.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms