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

Main task should not be called '<unnamed>' #10073

Closed
huonw opened this issue Oct 25, 2013 · 1 comment · Fixed by #10204
Closed

Main task should not be called '<unnamed>' #10073

huonw opened this issue Oct 25, 2013 · 1 comment · Fixed by #10204
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@huonw
Copy link
Member

huonw commented Oct 25, 2013

E.g.

fn main() { main() }
task '<unnamed>' has overflowed its stack

would be nicer if that said task '<main>' has overflowed its stack.

@catamorphism
Copy link
Contributor

+1

bors added a commit that referenced this issue Nov 1, 2013
Tests now have the same name as the test that they're running (to allow for
easier diagnosing of failure sources), and the main task is now specially named
`<main>` instead of `<unnamed>`.

Closes #10195
Closes #10073
flip1995 pushed a commit to flip1995/rust that referenced this issue Dec 17, 2022
Changelog 1.66

It's really nice to see a changelog with so many suggestion fixes and improvements. Not much else to say. This should be merged with the coming release on 2022-12-15. For the reviewer, please review it and approve it if it looks good. The merge should wait until the release :)

---

changelog: none

<!-- changelog_checked -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants