a16z / jolt

The simplest and most extensible zkVM. Fast and fully open source from a16z crypto and friends. ⚡
https://jolt.a16zcrypto.com
MIT License
653 stars 137 forks source link

fix: remove redundant bin target definition to resolve build conflict #383

Closed sebasti810 closed 3 months ago

sebasti810 commented 3 months ago

The file src/lib.rs was included in several build targets and caused a warning during the build process. This was because the file was implicitly treated as an entry point for the library (lib.rs) and explicitly defined as a binary target.

The [[bin]] section has been removed from the Cargo.toml file to resolve this conflict. In addition, the build command has been updated to remove the --bin flag, which is no longer necessary. The project can now be built cleanly and without warnings while maintaining the expected functionality.

sebasti810 commented 3 months ago

Closing because this approach doesnt work.