mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
This commit includes all the changes necessary for Phobos to run against druntime. Here is a sucinct list of the changes made:
* Removed gcstats. Garbage collector statistics will be avaialable in durintime's 'memory' module. * Removed object.d. This module is replaced by the object.d provided by druntime. * Removed std.array. To trap an array bounds error, import 'exception' from druntime and catch ArrayBoundsException. * Removed std.asserterror. To trap an asertion failure, import 'exception' from druntime and catch AssertException. * Removed std.gc. To interact with the garbage collector, import 'memory' from druntime. * Removed std.hiddenfunc. No equivalent exception is currently exposed by druntime, but if one is exposed it will be called HiddenFuncException and be declared in 'exception'. * Removed std.moduleinit. druntime declares ModuleInfo in object.d, so it is implicitly availble without importing. * Removed std.outofmemory. To trap an out of memory error, import 'exception' from druntime and catch OutOfMemoryException. * Removed std.switcherr. To trap a switch error, import 'exception' from druntime and catch SwitchException. * Removed std.synchro. This functionality will exist within druintime. * Removed std.thread. A Thread class is available within druntime's 'thread' module. An interface comparison will be provided separately. * Removed std.typeinfo. The classes defined in this package are for runtime use and should not be visible to the user. The prior version of Phobos has been archived in tags/phobos-2.019 if needed.
This commit is contained in:
parent
8d41338d26
commit
edb5c5003e
105 changed files with 313 additions and 31385 deletions
|
@ -25,8 +25,6 @@
|
|||
// to run the unit tests on them.
|
||||
// Then, it prints out the arguments passed to main().
|
||||
|
||||
public import std.array;
|
||||
public import std.asserterror;
|
||||
public import std.base64;
|
||||
public import std.bind;
|
||||
public import std.bitarray;
|
||||
|
@ -43,19 +41,15 @@ public import std.dateparse;
|
|||
public import std.demangle;
|
||||
public import std.file;
|
||||
public import std.format;
|
||||
public import std.gc;
|
||||
public import std.getopt;
|
||||
public import std.hiddenfunc;
|
||||
public import std.intrinsic;
|
||||
public import std.loader;
|
||||
public import std.math;
|
||||
public import std.md5;
|
||||
public import std.metastrings;
|
||||
public import std.mmfile;
|
||||
public import std.moduleinit;
|
||||
public import std.openrj;
|
||||
public import std.outbuffer;
|
||||
public import std.outofmemory;
|
||||
public import std.path;
|
||||
public import std.perf;
|
||||
public import std.process;
|
||||
|
@ -69,10 +63,8 @@ public import std.stdint;
|
|||
public import std.stdio;
|
||||
public import std.stream;
|
||||
public import std.string;
|
||||
public import std.switcherr;
|
||||
public import std.syserror;
|
||||
public import std.system;
|
||||
public import std.thread;
|
||||
public import std.traits;
|
||||
public import std.typetuple;
|
||||
public import std.uni;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue