Skip to content

Commit a5ab54f

Browse files
committed
add TODO comment to remove cfg-guard
1 parent 8fe886c commit a5ab54f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/wasmi/src/engine/translator

crates/wasmi/src/engine/translator/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub trait WasmInteger:
6161
fn is_zero(self) -> bool;
6262

6363
/// Returns the wrapped negated `self`.
64-
#[cfg(feature = "experimental-translator")]
64+
#[cfg(feature = "experimental-translator")] // TODO: remove
6565
fn wrapping_neg(self) -> Self;
6666
}
6767

@@ -79,7 +79,7 @@ macro_rules! impl_wasm_integer {
7979
self == 0
8080
}
8181

82-
#[cfg(feature = "experimental-translator")]
82+
#[cfg(feature = "experimental-translator")] // TODO: remove
8383
fn wrapping_neg(self) -> Self {
8484
Self::wrapping_neg(self)
8585
}

0 commit comments

Comments
 (0)