Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump foundry-compilers 0.12.6 #9490

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading