diff options
Diffstat (limited to 'src/feature.cc')
-rw-r--r-- | src/feature.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature.cc b/src/feature.cc index 7f521ca2..1c72c365 100644 --- a/src/feature.cc +++ b/src/feature.cc @@ -37,6 +37,10 @@ void Features::AddOptions(OptionParser* parser) { } void Features::UpdateDependencies() { + // Exception handling requires reference types. + if (exceptions_enabled_) { + reference_types_enabled_ = true; + } // Reference types requires bulk memory. if (reference_types_enabled_) { bulk_memory_enabled_ = true; |