version.rs includes VERSION directly.

So you no longer need to run ./configure to build the rust tools
This commit is contained in:
Joe Thornber 2021-02-04 10:00:32 +00:00
parent 9733ceb949
commit 6f30d17f04
3 changed files with 1 additions and 3 deletions

View File

@ -206,6 +206,5 @@ Makefile
contrib/Makefile
unit-tests/Makefile
version.h
src/version.rs
])
AC_OUTPUT

1
src/version.rs Normal file
View File

@ -0,0 +1 @@
pub const TOOLS_VERSION: &str = include_str!("../VERSION");

View File

@ -1,2 +0,0 @@
pub const TOOLS_VERSION: &str = @THIN_PROVISIONING_TOOLS_VERSION@;