Skip to content

Commit dac157a

Browse files
authored
Merge pull request #197 from nyurik/fix-ci
Fix CI for nightly
2 parents 5ad7153 + a0a8466 commit dac157a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ incremental = false
3535
[features]
3636
default = ["std"]
3737
benchmark = ["brotli-decompressor/benchmark"]
38+
billing = []
3839
disable-timer = ["brotli-decompressor/disable-timer"]
40+
disallow_large_window_size = []
3941
external-literal-probability = []
4042
ffi-api = ["brotli-decompressor/ffi-api"]
43+
float64 = []
44+
floating_point_context_mixing = []
45+
no-stdlib-ffi-binding = []
4146
pass-through-ffi-panics = []
4247
seccomp = ["brotli-decompressor/seccomp"]
48+
simd = []
4349
std = ["alloc-stdlib", "brotli-decompressor/std"]
4450
validation = ["sha2"]
4551
vector_scratch_space = []
46-
simd = []

src/enc/weights.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fn normalize_weights(weights: &mut [i32; 2]) {
8787
}
8888

8989
#[allow(dead_code)]
90-
#[cfg(features = "floating_point_context_mixing")]
90+
#[cfg(feature = "floating_point_context_mixing")]
9191
fn compute_new_weight(
9292
probs: [Prob; 2],
9393
weighted_prob: Prob,
@@ -115,7 +115,7 @@ fn compute_new_weight(
115115
}
116116

117117
#[allow(dead_code)]
118-
#[cfg(not(features = "floating_point_context_mixing"))]
118+
#[cfg(not(feature = "floating_point_context_mixing"))]
119119
#[inline(always)]
120120
fn compute_new_weight(
121121
probs: [Prob; 2],

0 commit comments

Comments
 (0)