Closed voxpelli closed 1 year ago
Hi, what toolchain are you using? It can only compile on nightly, and I'll add it to the readme
@GuyL99 Rust 1.63.0, sorry for forgetting that very crucial information 😝
Could you add a rust-toolchain.toml
file?
@RazMag and @DeliciousBounty, can you do it?
Thanks @voxpelli should be fixed now
I'm getting same error when I ran
# rust version
$ rustc --version
rustc 1.65.0 (897e37553 2022-11-02)
# installing cherrybomb
$ cargo install cherrybomb
Screenshot:
How can I fix the issue?
@dmdhrumilmistry Do you compile on rust nightly?
@dmdhrumilmistry Do you compile on rust nightly?
I believe I'm using a stable release since I installed rust using default options.
Edit:
I tried to install it again with the rust nightly build but it's returning the same error. Commands used are listed below:
$ rustup default nightly
$ rustup update
$ rustc --version
rustc 1.67.0-nightly (6284998a2 2022-11-12)
$ cargo install cherrybomb
The above commands prompted the same error.
Thank you @dmdhrumilmistry looking into this rn
Hey this should be fixed now in dev, in crates.io and soon in the main branch.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
main
cargo build --release
Expected behavior The project would actually build.
Screenshots
https://github.com/blst-security/cherrybomb/blob/100453111366a8723162a649fd8954268e51731c/swagger/src/schema.rs#L56
Desktop (please complete the following information):
Additional context I guess this might be because I'm compiling on an M1 and thus is targeting
aarch64
?