pinnacle-comp/pinnacle

`Build.rs` engages in undefined behavior

nixith opened this issue · 0 comments

As mentioned in #212 , currently Build.rs has undefined behavior with setting up configuration files, something that #205 mentions as something need to be fixed. This results in a blocking issue for #213.

I agree with the thought of maybe moving some stuff to a makefile, but also wonder if using cargo feature's might help simplify some things. Lua can still be default enabled but people who want rust could compile with the lua feature turned off and the rust one on.

As for installing files I don't really have a great answer for that. I'm guessing make can do that, and probably allows an easy way to use XDG or FHS directories (i.e. usr/share), but I'm not familiar enough with make to say anything specific.