fn check_thread_count(
    handler: &EarlyErrorHandler,
    unstable_opts: &UnstableOptions
)