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 test failed #2

Open
jamesdang opened this issue Dec 14, 2022 · 1 comment
Open

cargo test failed #2

jamesdang opened this issue Dec 14, 2022 · 1 comment

Comments

@jamesdang
Copy link

Hello!

When I try to run "cargo test", it gives me the following error:

$ cargo test
Compiling crystals-cref v0.1.0 (/home/james/krystals/crystals-cref)
error: failed to run custom build command for crystals-cref v0.1.0 (/home/james/krystals/crystals-cref)

Caused by:
process didn't exit successfully: /home/james/krystals/target/debug/build/crystals-cref-0de1678b0e298d12/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-changed=kyber/ref

--- stderr
thread 'main' panicked at 'libclang error; possible causes include:

  • Invalid flag syntax
  • Unrecognized flags
  • Invalid flag arguments
  • File I/O errors
  • Host vs. target architecture mismatch
    If you encounter an error missing from this list, please file an issue or a PR!', /home/james/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/bindgen-0.60.1/src/ir/context.rs:529:15
    note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Could you give me some hints?

Thank you very much!

James

@Zk2u
Copy link

Zk2u commented Aug 8, 2023

git submodule update --init --recursive

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