If the function you trying to keep is in non-pub module, it will be removed. Maybe you could move it out of private module: <https://rust.godbolt.org/z/PYPbG8>. There's also an `#[used]`[1] attribute, but only for…
> there is no feature in Rust to force a function to not be removed Can we use `pub` to make it public and not to be removed ?
So tell me if C/C++ or Kotlin do that.
Really nice. I hope GitHub use this option soon. Or maybe not: I guess it's kinda slow and heavy on computation.
We need more volunteers to help implement those features!
What are the cases when `try!` macro bettern than `?` operator? I'm a beginner to Rust so I don't know about that.
If the function you trying to keep is in non-pub module, it will be removed. Maybe you could move it out of private module: <https://rust.godbolt.org/z/PYPbG8>. There's also an `#[used]`[1] attribute, but only for…
> there is no feature in Rust to force a function to not be removed Can we use `pub` to make it public and not to be removed ?
So tell me if C/C++ or Kotlin do that.
Really nice. I hope GitHub use this option soon. Or maybe not: I guess it's kinda slow and heavy on computation.
We need more volunteers to help implement those features!
What are the cases when `try!` macro bettern than `?` operator? I'm a beginner to Rust so I don't know about that.