chiark / gitweb /
nailing-cargo: Provide a dummy build.rs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 May 2020 20:35:01 +0000 (21:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 May 2020 20:35:01 +0000 (21:35 +0100)
commit30396fe34392dfd150bd9bd9814394e01baf0e22
treeebb81f1bf721e5c17c64188f23f42c03f598e3c4
parentc893031d86f9c186a3bdf3881393ce6878dfa7fc
nailing-cargo: Provide a dummy build.rs

Without this, cargo might do this:

    package `<crate> <version> (/home/....)` specifies that it links
    to `<some library>` but does not have a custom build script

When generating a lockfile it doesn't actually need to look at the
build.rs so an empty one will do fine to placate it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
nailing-cargo