Fix ISRG compiling on web by adding more web cfgs
This commit is contained in:
2 files changed
+13
-6
No files matched your search
@@ -108,10 +108,12 @@ impl IncrementalRenderer {
|
||||
) -> Result<Option<CachedRender<'a>>, IncrementalRendererError> {
|
||||
let Self {
|
||||
memory_cache,
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
file_system_cache,
|
||||
..
|
||||
} = self;
|
||||
|
||||
#[allow(unused)]
|
||||
enum FsGetError {
|
||||
NotPresent,
|
||||
Error(IncrementalRendererError),
|
||||
|
||||
Reference in new issue
Block a user