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

Compiling with --no-default-features broken since 1.37.0 #43

Closed
ximon18 opened this issue Aug 8, 2022 · 1 comment
Closed

Compiling with --no-default-features broken since 1.37.0 #43

ximon18 opened this issue Aug 8, 2022 · 1 comment

Comments

@ximon18
Copy link
Contributor

ximon18 commented Aug 8, 2022

Hi,

Prior to 1.37.0 it was possible to compile with --no-default-features to work around #12. However since 1.37.0 compilation with --no-default-features fails with error:

error[E0061]: this function takes 5 arguments but 4 arguments were supplied
  --> /home/ximon/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-deb-1.37.0/src/compress.rs:66:5
   |
66 |     zopfli::compress(&Options::default(), &Format::Gzip, data, &mut compressed)?;
   |     ^^^^^^^^^^^^^^^^ -------------------  -------------  ----  --------------- supplied 4 arguments
   |     |
   |     expected 5 arguments
   |
note: function defined here
  --> /home/ximon/.cargo/registry/src/github.com-1ecc6299db9ec823/zopfli-0.6.0/src/lib.rs:85:8
   |
85 | pub fn compress<R, W>(
   |        ^^^^^^^^

For more information about this error, try `rustc --explain E0061`.
error: could not compile `cargo-deb` due to previous error
error: failed to compile `cargo-deb v1.37.0`, intermediate artifacts can be found at `/tmp/cargo-installFsF2oo`
@kornelski
Copy link
Owner

Fixed

ximon18 added a commit to NLnetLabs/routinator that referenced this issue Aug 15, 2022
Cargo-deb was held back due to kornelski/cargo-deb#43 which is now fixed.
ximon18 added a commit to NLnetLabs/routinator that referenced this issue Aug 17, 2022
Cargo-deb was held back due to kornelski/cargo-deb#43 which is now fixed.
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

2 participants