fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -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"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user