fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,18 @@
extern "C" int rt_init();
extern "C" int rt_term();
extern void print_hello(int i);
int main(int, char**) {
// initialize D runtime
if (!rt_init())
return 1;
print_hello(1);
// terminate D runtime, each initialize call
// must be paired with a terminate call.
if (!rt_term())
return 1;
return 0;
}
@@ -0,0 +1,5 @@
extern (C++) void print_hello(int i);
void main() {
print_hello(1);
}
@@ -0,0 +1,5 @@
#include<iostream>
void print_hello(int i) {
std::cout << "Hello. Here is a number printed with C++: " << i << ".\n";
}
@@ -0,0 +1,5 @@
import std.stdio;
extern (C++) void print_hello(int i) {
writefln("Hello. Here is a number printed with D: %d", i);
}
@@ -0,0 +1,13 @@
project('d and c++', 'd', 'cpp')
cpp = meson.get_compiler('cpp')
if cpp.get_id() == 'clang'
error('MESON_SKIP_TEST combining Clang C++ with GDC produces broken executables.')
endif
e1 = executable('dcpp', 'dmain.d', 'libfile.cpp')
test('dcpp', e1)
e2 = executable('cppd', 'cppmain.cpp', 'libfile.d')
test('cppd', e2)