Skip to content

Commit

Permalink
feat(wasi): add rename for a directory + fix remove_dir
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Coenen <[email protected]>
  • Loading branch information
bnjjj committed Sep 7, 2021
1 parent e0e12f9 commit 1a71dc2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ test-wasi-unit:
cargo test --manifest-path lib/wasi/Cargo.toml --release

test-wasi:
cargo test --release --tests $(compiler_features) -- wasi::wasitests::snapshot1
cargo test --release --tests $(compiler_features) -- wasi::wasitests

test-examples:
cargo test --release $(compiler_features) --features wasi --examples
Expand Down
9 changes: 0 additions & 9 deletions lib/c-api/wasmer.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,9 @@
# define DEPRECATED(message) __declspec(deprecated(message))
#endif

// The `universal` feature has been enabled for this build.
#define WASMER_UNIVERSAL_ENABLED

// The `compiler` feature has been enabled for this build.
#define WASMER_COMPILER_ENABLED

// The `wasi` feature has been enabled for this build.
#define WASMER_WASI_ENABLED

// The `middlewares` feature has been enabled for this build.
#define WASMER_MIDDLEWARES_ENABLED

// This file corresponds to the following Wasmer version.
#define WASMER_VERSION "2.0.0"
#define WASMER_VERSION_MAJOR 2
Expand Down
1 change: 0 additions & 1 deletion tests/wasi-wast/src/wasitests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ fn compile_wasm_for_version(
.create(true)
.open(&temp_wasi_rs_file_name)
.unwrap();
// actual_file.write_all(b"#![feature(wasi_ext)]\n").unwrap();
actual_file.write_all(file_contents.as_bytes()).unwrap();
}

Expand Down

0 comments on commit 1a71dc2

Please sign in to comment.