Fix linting

This commit is contained in:
Jesús Leganés-Combarro 'piranna 2019-05-21 19:12:35 +02:00
parent 34e16d4a84
commit 490b94b814
2 changed files with 9 additions and 5 deletions

View File

@ -247,10 +247,12 @@ pub fn _getnameinfo(
_hostlen: i32, _hostlen: i32,
_serv: i32, _serv: i32,
_servlen: i32, _servlen: i32,
_flags: i32 _flags: i32,
) -> i32 { ) -> i32 {
debug!("emscripten::_getnameinfo({}, {}, {}, {}, {}, {}, {})", debug!(
_addr, _addrlen, _host, _hostlen, _serv, _servlen, _flags); "emscripten::_getnameinfo({}, {}, {}, {}, {}, {}, {})",
_addr, _addrlen, _host, _hostlen, _serv, _servlen, _flags
);
0 0
} }

View File

@ -1,12 +1,14 @@
use wasmer_runtime_core::vm::Ctx; use wasmer_runtime_core::vm::Ctx;
pub fn _getcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 { pub fn _getcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 {
debug!("emscripten::_getcontext({})", _ucp); debug!("emscripten::_getcontext({})", _ucp);
0 0
} }
pub fn _makecontext(_ctx: &mut Ctx, _ucp: i32, _func: i32, _argc: i32, _argv: i32) { pub fn _makecontext(_ctx: &mut Ctx, _ucp: i32, _func: i32, _argc: i32, _argv: i32) {
debug!("emscripten::_makecontext({}, {}, {}, {})", _ucp, _func, _argc, _argv); debug!(
"emscripten::_makecontext({}, {}, {}, {})",
_ucp, _func, _argc, _argv
);
} }
pub fn _setcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 { pub fn _setcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 {
debug!("emscripten::_setcontext({})", _ucp); debug!("emscripten::_setcontext({})", _ucp);