Enable/disable GC support in Wasmtime entirely. This flag can be used to gate whether GC infrastructure is enabled or initialized in Wasmtime at all. Wasmtime's GC implementation is required for the [`Self::wasm_gc`] proposal, [`Self::wasm_function_references`], and [`Self::wasm_exceptions`] at this time. None of those proposal can be enabled without also having this option enabled. This option
(&mut self, enable: bool)
| 3118 | /// This option defaults to whether the crate `gc` feature is enabled or |
| 3119 | /// not. |
| 3120 | pub fn gc_support(&mut self, enable: bool) -> &mut Self { |
| 3121 | self.wasm_features(WasmFeatures::GC_TYPES, enable) |
| 3122 | } |
| 3123 | |
| 3124 | /// Explicitly indicate or not whether the host is using a hardware float |
| 3125 | /// ABI on x86 targets. |
no test coverage detected