Re: [PATCH v2] rust: allow to use INIT_STACK_ALL_ZERO

From: Miguel Ojeda
Date: Sun Apr 09 2023 - 16:50:39 EST


On Fri, Apr 7, 2023 at 8:02 AM Andrea Righi <andrea.righi@xxxxxxxxxxxxx> wrote:
>
> The check (< 16) looks correct and the comment also looks correct to me,
> this option will be removed in clang 18, as mentioned here:
> https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0-rc2/clang/docs/ReleaseNotes.rst#deprecated-compiler-flags
>
> (Maybe we could add also this link as a reference)

Thanks for taking a look -- Kees' link added!

I removed "(as the name of the option suggests)" from the commit
message, by the way, since the name of the option suggests the
original `-ftrivial` option was to be removed, not the `-enable` one.
If that understanding is wrong, please let me know!

Cheers,
Miguel