mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
expose vfs in emscripten and impl read
syscall, feature flag
This commit is contained in:
@ -176,6 +176,8 @@ mod test_unary_literal;
|
||||
mod test_utf;
|
||||
mod test_varargs;
|
||||
mod test_varargs_multi;
|
||||
#[cfg(feature = "vfs")]
|
||||
mod test_vfs;
|
||||
mod test_vprintf;
|
||||
mod test_vsnprintf;
|
||||
mod test_wprintf;
|
||||
|
9
lib/emscripten/tests/emtests/test_vfs.rs
Normal file
9
lib/emscripten/tests/emtests/test_vfs.rs
Normal file
@ -0,0 +1,9 @@
|
||||
#[test]
|
||||
fn test_vfs() {
|
||||
assert_emscripten_output!(
|
||||
"../../emtests/test_vfs.wasm",
|
||||
"test_vfs",
|
||||
vec![],
|
||||
"../../emtests/test_vfs.out"
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user