Cascade feature gate renaming

This commit is contained in:
Ludo Galabru
2020-06-17 00:30:50 -04:00
parent d2d0c27763
commit 7cbbe86879
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ criterion = "0.3"
[features]
developer-mode = []
default = ["developer-mode"]
monitoring = ["prometheus"]
prometheus = ["prometheus"]
[target.'cfg(all(target_arch = "x86_64", not(target_env = "msvc")))'.dependencies]
sha2-asm = "0.5.3"

View File

@@ -10,7 +10,7 @@ RUN rustup target add x86_64-unknown-linux-musl && \
RUN CC=musl-gcc \
CC_x86_64_unknown_linux_musl=musl-gcc \
CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=musl-gcc \
cargo build --features "monitoring" --release --target x86_64-unknown-linux-musl --workspace=./
cargo build --features "prometheus" --release --target x86_64-unknown-linux-musl --workspace=./
RUN cd /src/target/x86_64-unknown-linux-musl/release && \
mkdir /out && \