Skip to content

Commit

Permalink
Merge pull request #197 from nyurik/fix-ci
Browse files Browse the repository at this point in the history
Fix CI for nightly
  • Loading branch information
danielrh authored May 11, 2024
2 parents 5ad7153 + a0a8466 commit dac157a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ incremental = false
[features]
default = ["std"]
benchmark = ["brotli-decompressor/benchmark"]
billing = []
disable-timer = ["brotli-decompressor/disable-timer"]
disallow_large_window_size = []
external-literal-probability = []
ffi-api = ["brotli-decompressor/ffi-api"]
float64 = []
floating_point_context_mixing = []
no-stdlib-ffi-binding = []
pass-through-ffi-panics = []
seccomp = ["brotli-decompressor/seccomp"]
simd = []
std = ["alloc-stdlib", "brotli-decompressor/std"]
validation = ["sha2"]
vector_scratch_space = []
simd = []
4 changes: 2 additions & 2 deletions src/enc/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ fn normalize_weights(weights: &mut [i32; 2]) {
}

#[allow(dead_code)]
#[cfg(features = "floating_point_context_mixing")]
#[cfg(feature = "floating_point_context_mixing")]
fn compute_new_weight(
probs: [Prob; 2],
weighted_prob: Prob,
Expand Down Expand Up @@ -115,7 +115,7 @@ fn compute_new_weight(
}

#[allow(dead_code)]
#[cfg(not(features = "floating_point_context_mixing"))]
#[cfg(not(feature = "floating_point_context_mixing"))]
#[inline(always)]
fn compute_new_weight(
probs: [Prob; 2],
Expand Down

0 comments on commit dac157a

Please sign in to comment.