lkml.org 
[lkml]   [2022]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v9 07/27] rust: import upstream `alloc` crate
On Wed, Aug 17, 2022 at 10:07 PM Kees Cook <keescook@chromium.org> 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

\
 
 \ /
  Last update: 2022-08-17 23:01    [W:0.165 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site