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

Add warning for unknown sections in the manifest file #694

Closed
adlerjohn opened this issue Jan 23, 2022 · 2 comments · Fixed by #918
Closed

Add warning for unknown sections in the manifest file #694

adlerjohn opened this issue Jan 23, 2022 · 2 comments · Fixed by #918
Assignees
Labels
enhancement New feature or request forc good first issue Good for newcomers

Comments

@adlerjohn
Copy link
Contributor

Currently, unknown sections in the manifest file are silently ignored. Add a warning similar to Cargo's when an unknown section is found in the manifest file.

@adlerjohn adlerjohn added enhancement New feature or request forc labels Jan 23, 2022
@adlerjohn adlerjohn added the good first issue Good for newcomers label Jan 24, 2022
@eureka-cpu
Copy link
Contributor

@adlerjohn if you have any resources on this I'd appreciate it, having trouble finding references to this issue online

@adlerjohn
Copy link
Contributor Author

If you add a section

[[foo]]

to your Cargo.toml, cargo` spits out

$ cargo build
warning: unused manifest key: foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants