Fix ISRG compiling on web by adding more web cfgs

This commit is contained in:
Jonathan Kelley committed 2024-09-17 10:19:57 -07:00
1 parent 463e67cd12
commit 602c605538
2 files changed
+13 -6

No files matched your search

+2
View File
@@ -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),