Re: [PATCH v9 07/27] rust: import upstream `alloc` crate
From: Miguel Ojeda
Date: Wed Aug 17 2022 - 17:00:41 EST
On Wed, Aug 17, 2022 at 10:07 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Can you include an easy script (in the commit log) for this kind of
> verification?
Of course, good idea!
> For this, I have done:
>
> $ git am 0001-rust-import-upstream-alloc-crate.patch
> $ for i in $(diffstat -lp3 0001-rust-import-upstream-alloc-crate.patch); do
> wget --quiet -O check.rs \
> https://github.com/rust-lang/rust/raw/1.62.0/library/alloc/src/$i
> diff -up rust/alloc/$i check.rs && echo $i: ok
> rm -f check.rs
> done
Thanks for providing the steps like in the other version. This one is
even fancier :)
Cheers,
Miguel