This substitution matches the behaviour of rustc[1] when inferring
crate name based on file name.
[1]: 4e8fb743cc/compiler/rustc_session/src/output.rs (L88)
pull/9992/head
parent
755b2ab6da
commit
3596b6b19a
4 changed files with 8 additions and 7 deletions
@ -1,2 +1,2 @@ |
||||
e = executable('program2', 'prog.rs', install : true) |
||||
e = executable('rust-program2', 'prog.rs', install : true) |
||||
test('rusttest2', e) |
||||
|
@ -1,8 +1,8 @@ |
||||
{ |
||||
"installed": [ |
||||
{"type": "exe", "file": "usr/bin/program"}, |
||||
{"type": "pdb", "file": "usr/bin/program"}, |
||||
{"type": "exe", "file": "usr/bin/program2"}, |
||||
{"type": "pdb", "file": "usr/bin/program2"} |
||||
{"type": "exe", "file": "usr/bin/rust-program"}, |
||||
{"type": "pdb", "file": "usr/bin/rust-program"}, |
||||
{"type": "exe", "file": "usr/bin/rust-program2"}, |
||||
{"type": "pdb", "file": "usr/bin/rust-program2"} |
||||
] |
||||
} |
||||
|
Loading…
Reference in new issue