From be265ddba721df9faf546950333e687de0127f1f Mon Sep 17 00:00:00 2001 From: Syrus Date: Mon, 17 Dec 2018 22:26:05 -0800 Subject: [PATCH] Improved lint --- src/webassembly/instance.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webassembly/instance.rs b/src/webassembly/instance.rs index 2603d9994..a958f27c2 100644 --- a/src/webassembly/instance.rs +++ b/src/webassembly/instance.rs @@ -132,12 +132,12 @@ impl EmscriptenData { call_protected!(___emscripten_environ_constructor(&instance)) .map_err(|err| format!("{}", err))?; }; - Ok(()) // TODO: We also need to handle TTY.init() and SOCKFS.root = FS.mount(SOCKFS, {}, null) + Ok(()) } // Emscripten __ATEXIT__ - pub fn atexit(&self, module: &Module, instance: &Instance) -> Result<(), String> { + pub fn atexit(&self, _module: &Module, _instance: &Instance) -> Result<(), String> { debug!("emscripten::atexit"); use libc::fflush; use std::ptr;