In the even that all of the inputs are generated, and they're all generated into the same folder, and there are no subfolders, we would fail to correctly handle all of the files after the main file. Let's fix that.tpull/10147/head
parent
f9445300b3
commit
9b83fc5ece
5 changed files with 42 additions and 4 deletions
@ -0,0 +1,5 @@ |
||||
include!(r#"@dir@/include.rs"#); |
||||
|
||||
pub fn main() { |
||||
priv_func(); |
||||
} |
@ -0,0 +1,3 @@ |
||||
fn priv_func() { |
||||
std::process::exit(0); |
||||
} |
@ -0,0 +1,4 @@ |
||||
srcs2 = structured_sources( |
||||
['main-unique.rs'], |
||||
{'foo': 'foo/mod.rs'}, |
||||
) |
Loading…
Reference in new issue