Skip to content

Commit

Permalink
chore(deps): bump foundry-compilers 0.12.6 (#9490)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Dec 4, 2024
1 parent 3784cd8 commit 75fc63b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions crates/cli/src/opts/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ impl GlobalOpts {
Ok(())
}

/// Initialize the global thread pool.
pub fn force_init_thread_pool(&self) -> eyre::Result<()> {
init_thread_pool(self.threads.unwrap_or(0))
}

/// Create a new shell instance.
pub fn shell(&self) -> Shell {
let mode = match self.quiet {
Expand All @@ -69,6 +64,11 @@ impl GlobalOpts {

Shell::new_with(format, mode, color, self.verbosity)
}

/// Initialize the global thread pool.
pub fn force_init_thread_pool(&self) -> eyre::Result<()> {
init_thread_pool(self.threads.unwrap_or(0))
}
}

/// Initialize the global thread pool.
Expand Down
2 changes: 1 addition & 1 deletion crates/forge/bin/cmd/coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl CoverageArgs {
// Get source maps and bytecodes
let artifacts: Vec<ArtifactData> = output
.artifact_ids()
.par_bridge()
.par_bridge() // This parses source maps, so we want to run it in parallel.
.filter_map(|(id, artifact)| {
let source_id = report.get_source_id(id.version.clone(), id.source.clone())?;
ArtifactData::new(&id, source_id, artifact)
Expand Down

0 comments on commit 75fc63b

Please sign in to comment.