-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Description
Whatever upcall or lang item rustc is calling for log
needs to be updated to figure out exactly how to emit that log. There are several scenarios:
- A thread-local
rust_task*
is available - use the current path - A thread-local
Scheduler
is available - use some new scheduler-local mechanism - A newsched
Task
is running - use some new task-local mechanism - There is no available execution context - maybe these should just printf to the console. not sure
Consider redesigning log in the process #3309
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows