Closed cdesch closed 5 months ago
Hi! One option could be to run it with default-features turned off. If you see the default feature here, it turns on the simd-backend feature of curve25519-dalek: https://github.com/microsoft/Spartan/blob/e0f964c3f93dc95134ba36940b22e0ad6b09fe98/Cargo.toml#L61
Althought I have done what you say, the problem still existed
Please check the latest master. I think the build issue should be resolved.
When compiling a project using the Spartan Lib (Code Below) on the current nightly (
rustc 1.76.0-nightly (ba7c7a301 2023-11-13)
), I get the following error (below) thatpacked_simd_2
could not be compiled. I'm not sure what is causing this, although in doing some searching, it seems support was dropped in rust 1.72 for this function [Ref: https://github.com/dtolnay/proc-macro2/issues/398]. However, I did try falling back to rust 1.71 stable and received a different error because the dependencies need the nightly features to work. It seems that this may be related, although I am not sure: https://github.com/rust-lang/packed_simd/issues/356For what it is worth, I get the same error when compiling on Rust 1.74 nightly (
rustc 1.74.0-nightly (7d9bce327 2023-09-16)
)Error:
Project Code
Cargo.toml
main.rs
Versions
Rust Version
Ubuntu Version