Skip to main content

Module job_state

Module job_state 

Source
Expand description

See JobState.

Re-exportsยง

use std::cell::Cell; ๐Ÿ”’
use std::marker; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use cargo_util::ProcessBuilder; ๐Ÿ”’
use crate::compiler::future_incompat::FutureBreakageItem; ๐Ÿ”’
use crate::compiler::locking::LockKey; ๐Ÿ”’
use crate::compiler::timings::SectionTiming; ๐Ÿ”’
use crate::context::WarningHandling; ๐Ÿ”’
use crate::util::Queue; ๐Ÿ”’
use crate::util::interning::InternedString; ๐Ÿ”’
use crate::CargoResult; ๐Ÿ”’
use crate::compiler::locking::LockManager; ๐Ÿ”’
use super::Artifact; ๐Ÿ”’
use super::DiagDedupe; ๐Ÿ”’
use super::Job; ๐Ÿ”’
use super::JobId; ๐Ÿ”’
use super::Message; ๐Ÿ”’

Structsยง

JobState
A JobState is constructed by JobQueue::run and passed to Job::run. It includes everything necessary to communicate between the main thread and the execution of the job.