Sean1708 / rusty-cheddar

A Rust crate for automatically generating C header files from Rust source file.
http://sean1708.github.io/rusty-cheddar/
191 stars 25 forks source link

Default header file name. #1

Closed Sean1708 closed 8 years ago

Sean1708 commented 8 years ago

When no path is specified there should be a sane default path, currently this is cheddar.h. Ideally it would be

Sean1708 commented 8 years ago

cargo sets an OUT_DIR environment variable, can this be used?

Sean1708 commented 8 years ago

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.

Sean1708 commented 8 years ago

Closed with new api in 003b76b72d0238c030eb1147f0f6f5ee4955d08c.