Minor improvements to multithreaded compilation in Standalone #341

Merged
sb10q merged 1 commits from fix/threading-support into master 2024-08-17 17:37:20 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ struct CommandLineArgs {
opt_level: u32, opt_level: u32,
/// Whether to emit LLVM IR at the end of every module. /// Whether to emit LLVM IR at the end of every module.
///
/// If multithreaded compilation is also enabled, each thread will emit its own module.
#[arg(long, default_value_t = false)] #[arg(long, default_value_t = false)]
emit_llvm: bool, emit_llvm: bool,