message: compiler-singlepass: remove enable_stack_check flag
  Flag was not used anywhere in the code, stack checks are always enabled.
  Closes
diff: @@ -10,7 +10,6 @@ use wasmer_types::Features;
  #[derive(Debug, Clone, MemoryUsage)]
  pub struct Singlepass {
  pub(crate) enable_nan_canonicalization: bool,
  - pub(crate) enable_stack_check: bool,
  /// The middleware chain.
  pub(crate) middlewares: Vec<Arc<dyn ModuleMiddleware>>,
  }
  @@ -21,23 +20,10 @@ impl Singlepass {
  pub fn new() -> Self {
  Self {
  enable_nan_canonicalization: true,
  - enable_stack_check: false,
  middlewares: vec![],
  }
  }
  - /// Enable stack check.
  - ///
  - /// When enabled, an explicit stack depth check will be performed on entry
  - /// to each function to prevent stack overflow.
  - ///
  - /// Note that this doesn't guarantee deterministic execution across
  - /// different platforms.
  - pub fn enable_stack_check(&mut self, enable: bool) -> &mut Self {
  - self.enable_stack_check = enable;
  - self
  - }
  -
  fn enable_nan_canonicalization(&mut self) {
  self.enable_nan_canonicalization = true;
  }
  