-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
456: Command/openssl r=syrusakbary a=piranna Mocks for missing functions needed by `openssl` command. Co-authored-by: Jesús Leganés-Combarro 'piranna <[email protected]>
- Loading branch information
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use wasmer_runtime_core::vm::Ctx; | ||
|
||
pub fn _getcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 { | ||
debug!("emscripten::_getcontext({})", _ucp); | ||
0 | ||
} | ||
pub fn _makecontext(_ctx: &mut Ctx, _ucp: i32, _func: i32, _argc: i32, _argv: i32) { | ||
debug!( | ||
"emscripten::_makecontext({}, {}, {}, {})", | ||
_ucp, _func, _argc, _argv | ||
); | ||
} | ||
pub fn _setcontext(_ctx: &mut Ctx, _ucp: i32) -> i32 { | ||
debug!("emscripten::_setcontext({})", _ucp); | ||
0 | ||
} | ||
pub fn _swapcontext(_ctx: &mut Ctx, _oucp: i32, _ucp: i32) -> i32 { | ||
debug!("emscripten::_swapcontext({}, {})", _oucp, _ucp); | ||
0 | ||
} |