mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Improved lint
This commit is contained in:
parent
bb298f1890
commit
be265ddba7
@ -132,12 +132,12 @@ impl EmscriptenData {
|
|||||||
call_protected!(___emscripten_environ_constructor(&instance))
|
call_protected!(___emscripten_environ_constructor(&instance))
|
||||||
.map_err(|err| format!("{}", err))?;
|
.map_err(|err| format!("{}", err))?;
|
||||||
};
|
};
|
||||||
Ok(())
|
|
||||||
// TODO: We also need to handle TTY.init() and SOCKFS.root = FS.mount(SOCKFS, {}, null)
|
// TODO: We also need to handle TTY.init() and SOCKFS.root = FS.mount(SOCKFS, {}, null)
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emscripten __ATEXIT__
|
// 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");
|
debug!("emscripten::atexit");
|
||||||
use libc::fflush;
|
use libc::fflush;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user