mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Updated runtest to always rebuild libtangobos-partial.a in case of updates.
Changed std.stdarg to import ldc.vararg so it has the correct implementation.
This commit is contained in:
@@ -7,13 +7,11 @@ if [ -z "$1" ] ; then
|
||||
fi
|
||||
TARGETFILE=$1
|
||||
|
||||
# check for libtangobos-partial
|
||||
if ! [ -f testincludes/libtangobos-partial.a ] ; then
|
||||
echo "Could not find libtangobos-partial.a, attempting to build."
|
||||
cd testincludes
|
||||
make
|
||||
cd ..
|
||||
fi
|
||||
# build libtangobos-partial
|
||||
echo "Building libtangobos-partial.a"
|
||||
cd testincludes
|
||||
make
|
||||
cd ..
|
||||
|
||||
# check for dstress
|
||||
if ! [ -d dstress ] ; then
|
||||
|
||||
@@ -8,6 +8,13 @@
|
||||
|
||||
module std.stdarg;
|
||||
|
||||
version(LDC)
|
||||
{
|
||||
public import ldc.vararg;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
alias void* va_list;
|
||||
|
||||
template va_arg(T)
|
||||
@@ -20,3 +27,4 @@ template va_arg(T)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user