fix web/wasm build

This commit is contained in:
Emil Ernerfeldt
2020-09-08 09:44:40 +02:00
parent ef5eb4a465
commit 278268768d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
use std::hash::{Hash, Hasher};
const SIZE: usize = 8 * 1024;
const SIZE: usize = 1024; // must be small for web/WASM build (for unknown reason)
/// Very stupid/simple key-value cache. TODO: improve
#[derive(Clone)]