Skip to content

Commit 9d6a8b8

Browse files
committed
fix
1 parent 9b13ed2 commit 9d6a8b8

File tree

1 file changed

+2
-2
lines changed
  • crates/compilers/src/project_util

1 file changed

+2
-2
lines changed

crates/compilers/src/project_util/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ impl<T: ArtifactOutput + Default> TempProject<MultiCompiler, T> {
5757
pub fn set_solc(&mut self, solc: &str) -> &mut Self {
5858
use crate::solc::{Solc, SolcCompiler};
5959

60-
self.inner.compiler.solc = SolcCompiler::Specific(
60+
self.inner.compiler.solc = Some(SolcCompiler::Specific(
6161
Solc::find_svm_installed_version(&solc.parse().unwrap()).unwrap().unwrap(),
62-
);
62+
));
6363

6464
self
6565
}

0 commit comments

Comments
 (0)