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,5 @@
project('rust private crate collision', 'rust')
l = static_library('rand', 'rand.rs', install : true)
e = executable('prog', 'prog.rs', link_with : l, install : true)
test('linktest', e)
@@ -0,0 +1,3 @@
extern crate rand;
fn main() { println!("printing: {}", rand::explore()); }
@@ -0,0 +1,4 @@
// use a name that collides with one of the rustc_private libraries
#![crate_name = "rand"]
pub fn explore() -> &'static str { "librarystring" }
@@ -0,0 +1,7 @@
{
"installed": [
{"type": "exe", "file": "usr/bin/prog"},
{"type": "pdb", "file": "usr/bin/prog"},
{"type": "file", "file": "usr/lib/librand.rlib"}
]
}