Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# rt.config

Configuration options for druntime
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Rainer Schuetze

Source src/rt/config.d

nothrow @nogc string `rt_configOption`(string `opt`, scope rt_configCallBack `dg` = null, bool `reverse` = false);
  get a druntime config option using standard configuration options opt name of the option to retreive dg if non-null, passes the option through this delegate and only returns its return value if non-null reverse reverse the default processing order cmdline/envvar/rt_options to allow overwriting settings in the delegate with values from higher priority
  returns the options' value if - set on the command line as "--DRT-=value" (rt_cmdline_enabled enabled) - the environment variable "DRT_" is set (rt_envvars_enabled enabled) - rt_options[] contains an entry "=value" - null otherwise

Copyright © 1999-2018 by the D Language Foundation | Page generated by Ddoc on Thu Jun 7 15:29:01 2018