Improved Emscripten / WASI autodetection

This commit is contained in:
Syrus
2019-09-22 18:23:22 -07:00
parent bafd318284
commit 9942d3ae98
6 changed files with 16 additions and 13 deletions

View File

@ -39,6 +39,10 @@ where
self.elems.len()
}
pub fn is_empty(&self) -> bool {
self.elems.is_empty()
}
pub fn push(&mut self, value: V) -> K {
let len = self.len();
self.elems.push(value);