diff --git a/ethers-solc/src/compile.rs b/ethers-solc/src/compile.rs index e5dc2c39fb..1c76dac59d 100644 --- a/ethers-solc/src/compile.rs +++ b/ethers-solc/src/compile.rs @@ -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 { if let Some(home) = Self::svm_home() { utils::installed_versions(home)