mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 23:54:52 +00:00
Update cheatsheets
This commit is contained in:
29
dmd
Normal file
29
dmd
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dmd
|
||||
|
||||
> Official D compiler.
|
||||
> More information: <https://dlang.org/dmd.html>.
|
||||
|
||||
- Build a D source file:
|
||||
|
||||
`dmd {{path/to/source.d}}`
|
||||
|
||||
- Generate code for all template instantiations:
|
||||
|
||||
`dmd -allinst`
|
||||
|
||||
- Control bounds checking:
|
||||
|
||||
`dmd -boundscheck={{on|safeonly|off}}`
|
||||
|
||||
- List information on all available checks:
|
||||
|
||||
`dmd -check={{h|help|?}}`
|
||||
|
||||
- Turn on colored console output:
|
||||
|
||||
`dmd -color`
|
||||
Reference in New Issue
Block a user