Enable settings based on usable features.
()
| 284 | |
| 285 | |
| 286 | def auto_enable_features(): |
| 287 | """Enable settings based on usable features.""" |
| 288 | # TODO(sbc): Find make a generic way to expose the feature matrix to JS |
| 289 | # compiler rather then adding them all ad-hoc as internal settings |
| 290 | default_setting('WASM_BIGINT', caniuse(Feature.JS_BIGINT_INTEGRATION)) |
| 291 | if caniuse(Feature.GROWABLE_ARRAYBUFFERS): |
| 292 | default_setting('GROWABLE_ARRAYBUFFERS', 2) |
nothing calls this directly
no test coverage detected