GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
johnpearcey
/
dub_jkp
Browse code
`alias Nullable.get this` will soon be deprecated. Use `.get`.
master
1 parent
467f7db
commit
53298cc0fe307fec91dcb126d98ef6a98e89a21e
Mathis Beer
authored
on 13 Jun 2019
Patch
Unified
Split
Showing
2 changed files
+1
-1
■
■
■■■
source/dub/compilers/dmd.d
+1
-1
■
■
■■■
source/dub/dub.d
Ignore Space
Show notes
View
2
■
■
■■■
source/dub/compilers/dmd.d
// Don't use Optlink by default on Windows
version
(
Windows
)
{
const
is64bit
=
isWow64
();
if
(!
is64bit
.
isNull
)
arch_flags
=
[
is64bit
?
"-m64"
:
"-m32mscoff"
];
arch_flags
=
[
is64bit
.
get
?
"-m64"
:
"-m32mscoff"
];
}
break
;
case
"x86"
:
arch_flags
=
[
"-m32"
];
break
;
case
"x86_64"
:
arch_flags
=
[
"-m64"
];
break
;
Ignore Space
Show notes
View
2
■
■
■■■
source/dub/dub.d
} else if (!basepack.subPackages.canFind!(p => p.path.length)) {
// note: external sub packages are handled further below
auto spr = basepack.getInternalSubPackage(subname);
if (!spr.isNull) {
auto sp = new Package(spr, basepack.path, basepack);
auto sp = new Package(spr.get, basepack.path, basepack);
m_remotePackages[sp.name] = sp;
return sp;
} else {
logDiagnostic("Sub package %s doesn't exist in %s %s.", name, basename, dep.version_);
Show line notes below