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,14 @@
cc = meson.get_compiler('c')
cc_id = cc.get_id()
if cc_id == 'lcc'
error('MESON_SKIP_TEST: Elbrus compiler does not support PCH.')
endif
# PGI compiler only supports PCH for C++
if cc_id == 'pgi'
subdir_done()
endif
exe = executable('prog', 'prog.c',
c_pch : 'pch/prog.h')
@@ -0,0 +1,6 @@
#ifndef PROG_H
// Header guards for PCH confuse msvc in some situations.
// Using them here makes sure we handle this correctly.
#define PROG_H
#include<stdio.h>
#endif
@@ -0,0 +1,9 @@
// No includes here, they need to come from the PCH
void func(void) {
fprintf(stdout, "This is a function that fails if stdio is not #included.\n");
}
int main(void) {
return 0;
}