mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Add top-level feature to enable Milagro (#1428)
## Proposed Changes In the continuing war against unportable binaries I figured we should have an option to enable building the Lighthouse binary itself with Milagro. This PR adds a `milagro` feature that can be used with `cargo install --path lighthouse --features milagro --force --locked`. The BLS library in-use will also show up under `lighthouse --version` like this: ``` Lighthouse 0.1.2-7d8acc20a(modified) BLS Library: milagro ``` Future work: add other cool stuff like the compiler version and CPU target to `--version`.
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -563,6 +563,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "blst"
|
||||
version = "0.1.1"
|
||||
source = "git+https://github.com/sigp/blst.git?rev=dad1ad0cd22861e5773bee177bee4e1684792605#dad1ad0cd22861e5773bee177bee4e1684792605"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"glob",
|
||||
|
||||
Reference in New Issue
Block a user