Commit Graph

2 Commits

Author SHA1 Message Date
Dylan Baker d02149ad90 tests/rust: Add a generated library to generated main test
Which is broken, of course.
2021-01-21 10:59:15 -08:00
Dylan Baker bff0b41525 rust: Accept generated sources for main.rs
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
2021-01-19 10:14:10 -08:00