Add changelog for minimal runtime implementation PRs#7829
Add changelog for minimal runtime implementation PRs#7829JinShil wants to merge 1 commit intodlang:masterfrom JinShil:minimal_changelog
Conversation
|
Thanks for your pull request, @JinShil! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
changelog/minimal_runtime.dd
Outdated
| and missing `ModuleInfo`, among others.) | ||
|
|
||
| $P(Starting with this release, one can now create a library for use from another | ||
| language, requiring only the .d source file that implements that library, and |
changelog/minimal_runtime.dd
Outdated
| with a minimal runtime implementation.) | ||
|
|
||
| $B(Example 2) | ||
| $P(DMD auto-generates call to `_d_run_main` which, in turn, calls `main`. |
There was a problem hiding this comment.
calls the user-defined main function.
| --- | ||
|
|
||
| $(CONSOLE | ||
| dmd -c -lib main.d object.d -of=main.o |
There was a problem hiding this comment.
Library files are typically named .a
There was a problem hiding this comment.
Not in this case. The -lib is only used to prevent dmd from generating the main scaffolding; we're not generating a library here, just doing separate compiling and linking.
|
#7825 met some resistance, and due to the the global DFLAGS always importing the runtime, testing turned out to be non-trivial. So, I can't justify advertising these features until I find a better strategy for getting the design through and completing the implementation. Closing. |
This should only be merged after #7825 and #7799 have been merged.
This makes it known in the changelog that users can now use D without the runtime in a more pay-as-you-go fashion with a low barrier to entry and much less friction. It is the result of the following PRs.
ModuleInfoThrowableis not declared #7786 forThrowableTypeInfo