Creates a default profiler based on the profiling strategy chosen. Profiler creation calls the type's default initializer where the purpose is really just to put in place the type used for profiling. Some [`ProfilingStrategy`] require specific platforms or particular feature to be enabled, such as `ProfilingStrategy::JitDump` requires the `jitdump` feature. # Errors The validation of this fiel
(&mut self, profile: ProfilingStrategy)
| 1401 | /// cause `Engine::new` fail if the required feature is disabled, or the platform is not |
| 1402 | /// supported. |
| 1403 | pub fn profiler(&mut self, profile: ProfilingStrategy) -> &mut Self { |
| 1404 | self.profiling_strategy = profile; |
| 1405 | self |
| 1406 | } |
| 1407 | |
| 1408 | /// Configures whether the debug verifier of Cranelift is enabled or not. |
| 1409 | /// |
no outgoing calls
no test coverage detected