-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Currently, building Mundane requires Go 1.11+. Utilities in Go are used for three tasks:
-
Generating the interned error message bundle and its index (
crypto/err_data.cin the build tree, fromcrypto/err/*.errordatain the source tree). -
Extracting the names of public symbols from the archive created in the first library build (
crypto/libcrypto.a) and saving the result insymbols.txtabove the two build directories. -
Generating the headers with substitutions from regular to versioned symbol names, using the result of the previous utility.
Those are rather simple programs and I have reimplemented them in Rust without much difficulty. Integrating them into build.rs could lead to elimination of Go as a build dependency of Mundane. While having any single dependency is not particularly onerous, I believe that minimizing their number eases the acceptance of a package, both for developers and end users. Even more so since Go 1.11 is not available on current LTS versions of popular distros.
Would there be any interest of pursuing this further?