Closed ckoparkar closed 5 years ago
Thanks a lot for the PR, is there any reason to use fixed name instead of using mktemp
?
Not really. I wanted to avoid adding a dev dependency just for creating a temporary file which we have to rename by hand anyway. I can update this to use the proper crate too.
build-dependencies
is used by build.rs
only, it seems better to use mktemp
instead of hard code the filename. Others look good.
Thanks!
I'm not so sure about all the
build.rs
changes. There's a lot of code duplication and adding the corresponding files to.gitignore
is sufficient. /cc @rrnewton @wangbj