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,7 @@
void tmp_func(void) {
fprintf(stdout, "This is a function that fails if stdio is not #included.\n");
}
int cfunc(void) {
return 0;
}
@@ -0,0 +1,10 @@
extern "C" int cfunc();
void func(void) {
std::cout << "This is a function that fails to compile if iostream is not included."
<< std::endl;
}
int main(void) {
return cfunc();
}
@@ -0,0 +1,14 @@
cc = meson.get_compiler('c')
cc_id = cc.get_id()
# PGI compiler only supports PCH for C++
if cc_id == 'pgi'
subdir_done()
endif
exe = executable(
'prog',
files('main.cc', 'func.c'),
c_pch : ['pch/func.h'],
cpp_pch : ['pch/main.h'],
)
@@ -0,0 +1 @@
#include<stdio.h>
@@ -0,0 +1 @@
#include<iostream>