Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

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 usinga local clone.

dmd.main

Entry point for DMD console version.
This modules defines the entry point (main) for DMD, as well as related utilities needed for arguments parsing, path manipulation, etc... This file is not shared with other compilers which use the DMD front-end.
Authors:
Walter Bright
License:
Boost License 1.0

Sourcemain.d

Documentationhttps://dlang.org/phobos/dmd_main.html

Coveragehttps://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/main.d

intmain(intargc, char**argv);
DMD's entry point, C main.
Without-lowmem, we need to switch to the bump-pointer allocation scheme right from the start, before any module ctors are run, so we need this hook before druntime is initialized and_Dmain is called.
Returns:
Return code of the application
int_Dmain(char[][]);
Manual D main (for druntime initialization), which forwards totryMain.
Returns:
Return code of the application
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Fri Feb 20 17:56:15 2026

[8]ページ先頭

©2009-2026 Movatter.jp