Closed Sean1708 closed 8 years ago
cargo
sets an OUT_DIR
environment variable, can this be used?
I actually think too much magic goes on with filename generation at the moment. If the user doesn't explicitly give us a file name then it should just be cheddar.h
in the current directory.
Closed with new api in 003b76b72d0238c030eb1147f0f6f5ee4955d08c.
When no path is specified there should be a sane default path, currently this is
cheddar.h
. Ideally it would betarget/debug/include/<crate name>.h
for debug cargo builds.target/release/include/<crate name>.h
for release cargo build.include/<crate name>.h
for non-cargo build.