summaryrefslogtreecommitdiff
path: root/test cases/rust/11 generated main
AgeCommit message (Collapse)Author
2021-01-21tests/rust: Add a generated library to generated main testDylan Baker
Which is broken, of course.
2021-01-21tests/rust: Add subdir to generated sources testDylan Baker
2021-01-19rust: Accept generated sources for main.rsDylan Baker
There are still caveats here. Rust/cargo handles generated sources by writing out all targets of a single repo into a single output directory, setting a path to that via a build-time environment variable, and then include those files via a set of functions and macros. Meson's build layout is naturally different, and ninja makes working with environment variables at compile time difficult. Fixes #8157