Returns the current Tokio runtime handle, or creates a new one if it doesn’t exist.
It also returns the runtime to prevent it from being dropped before use.
This is required since tycho-execution does not have a pre-existing runtime.
Pads or truncates a byte slice to a fixed size array of N bytes.
If input is shorter than N, it pads with zeros at the start.
If input is longer than N, it truncates from the start (keeps last N bytes).