Skip to content

rustpkg: building a lib.rs expects a main() function #8290

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kud1ing opened this issue Aug 4, 2013 · 1 comment
Closed

rustpkg: building a lib.rs expects a main() function #8290

kud1ing opened this issue Aug 4, 2013 · 1 comment

Comments

@kud1ing
Copy link

kud1ing commented Aug 4, 2013

  • I have a src/sqlite/lib.rs containing a #[crate_type = "lib"];
  • A rustpkg build sqlite in src's parent directory gives error: main function not found.

Am i missing something or is this a bug?

@kud1ing
Copy link
Author

kud1ing commented Oct 24, 2013

Can not reproduce anymore.

@kud1ing kud1ing closed this as completed Oct 24, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jan 17, 2022
Handle implicit named arguments in `useless_format`

fixes rust-lang#8290

Ideally this would fix the macro parsing code to handle this, but this is a smaller change and easier to back port.

changelog: Handle implicit named arguments in `useless_format`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant