Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4493 from schveiguy/fixcycles2
Fix cycles in Phobos
- Loading branch information
Showing
8 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Written in the D programming language. | ||
|
||
/++ | ||
The purpose of this module is to perform static construction away from the | ||
normal modules to eliminate cyclic construction errors. | ||
Copyright: Copyright 2011 - 2016 | ||
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). | ||
Authors: Jonathan M Davis, Kato Shoichi, Steven Schveighoffer | ||
Source: $(PHOBOSSRC std/internal/_phobosinit.d) | ||
+/ | ||
module std.internal.phobosinit; | ||
|
||
version(OSX) | ||
{ | ||
extern(C) void std_process_shared_static_this(); | ||
|
||
shared static this() | ||
{ | ||
std_process_shared_static_this(); | ||
} | ||
} | ||
|
||
shared static this() | ||
{ | ||
import std.encoding; | ||
EncodingScheme.register("std.encoding.EncodingSchemeASCII"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeLatin1"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeLatin2"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeWindows1250"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeWindows1252"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeUtf8"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeUtf16Native"); | ||
EncodingScheme.register("std.encoding.EncodingSchemeUtf32Native"); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters