diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2018-12-03 18:26:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 18:26:16 -0800 |
commit | 6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8 (patch) | |
tree | 5b343da66f58c7fff1fbcd401dcec3e913ea49ff /src/binaryen-c.cpp | |
parent | 99cad87cea463fc3b978850a1d1416d9b338a14c (diff) | |
download | binaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.tar.gz binaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.tar.bz2 binaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.zip |
Feature options (#1797)
Add feature flags and struct interface. Default feature set has all feature enabled.
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index ebb8bb694..d098810e2 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -1936,7 +1936,7 @@ int BinaryenModuleValidate(BinaryenModuleRef module) { Module* wasm = (Module*)module; // TODO add feature selection support to C API - FeatureSet features = Feature::Atomics; + FeatureSet features = FeatureSet::All; return WasmValidator().validate(*wasm, features) ? 1 : 0; } |