Closed
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