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

cargo clippy panic #20

Open
selfhoster1312 opened this issue Aug 18, 2024 · 0 comments
Open

cargo clippy panic #20

selfhoster1312 opened this issue Aug 18, 2024 · 0 comments

Comments

@selfhoster1312
Copy link

Hello. I have encountered a strange issue due to relm4-icons build script. It crashes when running cargo clippy on a crate that requires relm4-icons.

error: failed to run custom build command for `relm4-icons v0.9.0`

Caused by:
  process didn't exit successfully: `/home/user/.cargo/target/debug/build/relm4-icons-3ce5adff2852e35f/build-script-build` (exit status: 101)
  --- stderr
  Canonical manifest dir: "/home/user/.cargo/target/debug/build/relm4-icons-01874538ae411613/out"
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-icons-0.9.0/build.rs:68:17:
  Couldn't find your manifest directory
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

This issue is reproducible on both stable and nightly. I have no idea if #19 is good code, but i can attest it fixes my problem.

Steps to reproduce:

  • cargo new testicons
  • cd testicons
  • cargo add relm4-icons
  • cargo clippy

Have a great day!

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