solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
277 stars 169 forks source link

Derive copy for SBPFVersion #608

Closed LucasSte closed 3 weeks ago

LucasSte commented 3 weeks ago

enum SBPF is represented by an integer, so we can derive Copy for it and avoid unnecessary clones.