File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ extern (C) void gc_init();
6767extern (C ) void gc_term();
6868extern (C ) void thread_init() @nogc nothrow ;
6969extern (C ) void thread_term() @nogc nothrow ;
70- extern (C ) void lifetime_init();
7170extern (C ) void rt_moduleCtor();
7271extern (C ) void rt_moduleTlsCtor();
7372extern (C ) void rt_moduleDtor();
@@ -131,7 +130,6 @@ extern (C) int rt_init()
131130 thread_init();
132131 // TODO: fixme - calls GC.addRange -> Initializes GC
133132 initStaticDataGC();
134- lifetime_init();
135133 rt_moduleCtor();
136134 rt_moduleTlsCtor();
137135 return 1 ;
Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ private
4040 }
4141}
4242
43- extern (C ) void lifetime_init()
43+ // Now-removed symbol, kept around for ABI
44+ // Some programs are dynamically linked, so best to err on the side of keeping symbols around for a while (especially extern(C) ones)
45+ // https://github.com/dlang/druntime/pull/3361
46+ deprecated extern (C ) void lifetime_init()
4447{
45- // this is run before static ctors, so it is safe to modify immutables
4648}
4749
4850/**
You can’t perform that action at this time.
0 commit comments