Closed
Description
Repro repo: https://github.com/axos88/out_dir_bug/blob/master/src/foo.rs#L1
Apparently that line causes env!("whatever")
to resolve to "false", so the include!
fails, because it cannot find the file.
I'm a bit baffled on why this doesn't create a more meaningful compile error. Seems like it gets confused due to there being a module named env
and a macro named env!
in std?
By completing that line to std::env, it will compile fine.