Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when building with the seccomp feature #17

Open
alexanderkjall opened this issue Jun 1, 2022 · 0 comments
Open

Compilation error when building with the seccomp feature #17

alexanderkjall opened this issue Jun 1, 2022 · 0 comments

Comments

@alexanderkjall
Copy link

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<InputType, OutputType>(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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant