mlua-rs/rlua

Get bytecode of the chunk

Closed this issue · 2 comments

Is there a way to get the source: &[u8] from a Chunk? As long as it's read-only, there shouldn't be any UB. Right?

Here's a PR. Just needs a cargo fmt I think.

Closing; as discussed in #154 getting the source to a Chunk isn't what's actually wanted.