Skip to content

Commit

Permalink
wasm compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 30, 2021
1 parent 45f10a4 commit 01ad315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethers-solc/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ impl Solc {
}

/// Returns the list of all solc instances installed at `SVM_HOME`
#[cfg(not(target_arch = "wasm32"))]
pub fn installed_versions() -> Vec<SolcVersion> {
if let Some(home) = Self::svm_home() {
utils::installed_versions(home)
Expand Down

0 comments on commit 01ad315

Please sign in to comment.