diff options
| author | Wangshan Lu <wisagan@gmail.com> | 2016-05-22 22:36:55 +0800 |
|---|---|---|
| committer | Wangshan Lu <wisagan@gmail.com> | 2016-05-22 22:42:10 +0800 |
| commit | 226bcdf7d1e774f5967f92b0bd0bf237179f95c9 (patch) | |
| tree | a1297f8449a1188e1c6406a952c81a25fba4e887 /src/libstd | |
| parent | e24d621fcacf59fa8ecc1c1af1c4adeded4bddee (diff) | |
| download | rust-226bcdf7d1e774f5967f92b0bd0bf237179f95c9.tar.gz rust-226bcdf7d1e774f5967f92b0bd0bf237179f95c9.zip | |
Rename main thread from "<main>" to "main".
Fix issue #33789
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt.rs b/src/libstd/rt.rs index 6eee4ee9bbe..15c6c3a9809 100644 --- a/src/libstd/rt.rs +++ b/src/libstd/rt.rs @@ -51,7 +51,7 @@ fn lang_start(main: *const u8, argc: isize, argv: *const *const u8) -> isize { // created. Note that this isn't necessary in general for new threads, // but we just do this to name the main thread and to give it correct // info about the stack bounds. - let thread: Thread = NewThread::new(Some("<main>".to_owned())); + let thread: Thread = NewThread::new(Some("main".to_owned())); thread_info::set(main_guard, thread); // Store our args if necessary in a squirreled away location |
