@[email protected] to Programmer HumorEnglish • 21 days agoHappens all the timesh.itjust.worksimagemessage-square22fedilinkarrow-up1518arrow-down17
arrow-up1511arrow-down1imageHappens all the timesh.itjust.works@[email protected] to Programmer HumorEnglish • 21 days agomessage-square22fedilink
minus-square@[email protected]linkfedilink9•edit-221 days agoI don’t know Rust but jump typically moves the program counter, where the height represents the number of instructions to move
minus-square@[email protected]linkfedilink14•21 days agoAfaik rust doesn’t have functions like that as they lead to unsafe code that’s impossible to check variable lifetimes for. I think OP created the jump function.
minus-square@[email protected]linkfedilink14•21 days agoThey created it. The compiler says the jump function is in src/main.rs
I don’t know Rust but jump typically moves the program counter, where the height represents the number of instructions to move
Afaik rust doesn’t have functions like that as they lead to unsafe code that’s impossible to check variable lifetimes for. I think OP created the jump function.
They created it. The compiler says the jump function is in src/main.rs