diff options
Diffstat (limited to 'dhall/src/semantics')
-rw-r--r-- | dhall/src/semantics/resolve/resolve.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dhall/src/semantics/resolve/resolve.rs b/dhall/src/semantics/resolve/resolve.rs index fb770db..114bd9b 100644 --- a/dhall/src/semantics/resolve/resolve.rs +++ b/dhall/src/semantics/resolve/resolve.rs @@ -201,10 +201,8 @@ pub(crate) fn download_http_text(url: Url) -> Result<String, Error> { Ok(reqwest::blocking::get(url).unwrap().text().unwrap()) } #[cfg(target_arch = "wasm32")] -pub(crate) fn download_http_text(url: Url) -> Result<String, Error> { - blocking::block_on(async { - Ok(reqwest::get(url).await.unwrap().text().await.unwrap()) - }) +pub(crate) fn download_http_text(_url: Url) -> Result<String, Error> { + panic!("Remote imports are not supported on wasm yet") } fn make_aslocation_uniontype() -> Expr { |