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

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

Closed
wants to merge 1 commit into from

Conversation

sebasti810
Copy link
Contributor

@sebasti810 sebasti810 commented Jun 11, 2024

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.

@sragss sragss requested a review from ncitron June 11, 2024 12:14
@sebasti810
Copy link
Contributor Author

Closing because this approach doesnt work.

@sebasti810 sebasti810 closed this Jun 18, 2024
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

Successfully merging this pull request may close these issues.

1 participant