Skip to content

Compilation error when building with the seccomp feature #17

@alexanderkjall

Description

@alexanderkjall

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions