Merge pull request #126 from Geod24/suppert

Update list of compilers to match vibe-core
merged-on-behalf-of: Sönke Ludwig <s-ludwig@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2019-10-08 21:25:41 +02:00 committed by GitHub
commit 38536e0be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 18 deletions

View file

@ -11,17 +11,17 @@ d:
# catching most DMD version related build failures early # catching most DMD version related build failures early
# latest 4 versions plus the oldest supported version should be present # latest 4 versions plus the oldest supported version should be present
- dmd-2.087.1 - dmd-2.087.1
- dmd-2.076.1 - dmd-2.078.3
- ldc-1.17.0
- ldc-1.16.0 - ldc-1.16.0
- ldc-1.15.0 - ldc-1.15.0
- ldc-1.14.0 - ldc-1.14.0
- ldc-1.13.0 - ldc-1.9.0
- ldc-1.12.0
- ldc-1.6.0
- dmd-beta
- dmd-2.086.1 - dmd-2.086.1
- dmd-2.085.1 - dmd-2.085.1
- dmd-2.084.1 - dmd-2.084.1
- dmd-2.079.0
- dmd-beta
env: env:
- CONFIG=select - CONFIG=select

View file

@ -31,12 +31,13 @@ The following compilers are tested and supported:
- DMD 2.086.1 - DMD 2.086.1
- DMD 2.085.1 - DMD 2.085.1
- DMD 2.084.1 - DMD 2.084.1
- DMD 2.076.1 - DMD 2.079.0
- LDC 1.17.0
- LDC 1.16.0 - LDC 1.16.0
- LDC 1.15.0 - LDC 1.15.0
- LDC 1.14.0 - LDC 1.14.0
- LDC 1.13.0 - LDC 1.13.0
- LDC 1.6.0 - LDC 1.9.0
Driver development status Driver development status

View file

@ -30,7 +30,11 @@ environment:
arch: x64 arch: x64
config: winapi config: winapi
- DC: dmd - DC: dmd
DVersion: 2.076.1 DVersion: 2.079.0
arch: x64
config: winapi
- DC: ldc
DVersion: 1.17.0
arch: x64 arch: x64
config: winapi config: winapi
- DC: ldc - DC: ldc
@ -46,11 +50,7 @@ environment:
arch: x86 arch: x86
config: winapi config: winapi
- DC: ldc - DC: ldc
DVersion: 1.13.0 DVersion: 1.9.0
arch: x64
config: winapi
- DC: ldc
DVersion: 1.6.0
arch: x64 arch: x64
config: winapi config: winapi

View file

@ -718,9 +718,7 @@ final class PosixEventDriverSockets(Loop : PosixEventLoop) : EventDriverSockets
} }
void receive(DatagramSocketFD socket, ubyte[] buffer, IOMode mode, DatagramIOCallback on_receive_finish) void receive(DatagramSocketFD socket, ubyte[] buffer, IOMode mode, DatagramIOCallback on_receive_finish)
@trusted { // DMD 2.072.0-b2: scope considered unsafe @safe {
import std.typecons : scoped;
assert(mode != IOMode.all, "Only IOMode.immediate and IOMode.once allowed for datagram sockets."); assert(mode != IOMode.all, "Only IOMode.immediate and IOMode.once allowed for datagram sockets.");
sizediff_t ret; sizediff_t ret;
@ -771,7 +769,7 @@ final class PosixEventDriverSockets(Loop : PosixEventLoop) : EventDriverSockets
} }
private void onDgramRead(FD fd) private void onDgramRead(FD fd)
@trusted { // DMD 2.072.0-b2: scope considered unsafe @safe {
auto slot = () @trusted { return &m_loop.m_fds[fd].datagramSocket(); } (); auto slot = () @trusted { return &m_loop.m_fds[fd].datagramSocket(); } ();
auto socket = cast(DatagramSocketFD)fd; auto socket = cast(DatagramSocketFD)fd;