c2rust icon indicating copy to clipboard operation
c2rust copied to clipboard

Transpiler cleanup 15.07

Open afetisov opened this issue 3 years ago • 2 comments

  • remove UB const DUMMY_SP, use safe Span::call_site() instead;
  • simplify argument parsing chains it.next().unwrap().parse().unwrap() into a single pattern match;
  • extract common logic for adding architecture-dependent item usage in simd.rs into a separate function;
  • various minor cleanups.

afetisov avatar Jul 14 '22 22:07 afetisov

If I split it up, all the comments you made here will be scrapped :-/

afetisov avatar Jul 14 '22 23:07 afetisov

None of them are too in-depth fortunately; I can re-make them.

kkysen avatar Jul 15 '22 02:07 kkysen