dropbox / dropbox/rust-brotli-decompressor

Compilation error when building with the seccomp feature

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
61
Forks
30
Avg merge
2d 11h
Merged PRs (30d)
10

Description

Hi

The debian build system runs unit tests for all features, and the seccomp feature seems to be broken.

Truncated example:
```
$ cargo test --features seccomp
Updating crates.io index
Compiling alloc-no-stdlib v2.0.3
Compiling alloc-stdlib v0.2.1
Compiling brotli-decompressor v2.3.2 (/tmp/rust-brotli-decompressor)
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
--> src/bin/integration_tests.rs:447:11
|
447 | match super::decompress(&mut input, &mut output, input_buffer_size, Vec::new()) {
| ^^^^^^^^^^^^^^^^^ ---------- ----------- ----------------- ---------- supplied 4 arguments
| |
| expected 3 arguments
|
note: function defined here
--> src/bin/brotli-decompressor.rs:215:8
|
215 | pub fn decompress(r: &mut InputType,
| ^^^^^^^^^^ -----------------
216 | mut w: &mut OutputType,
| ----------------------
217 | buffer_size: usize)
| ------------------

```

Should I maybe patch that feature out of the package when building it, or is it important for something?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.