I have two pointers, first one points to the stack base, the other points to the topmost element on the stack. I want to make a slice []u64 so that I can access the stack elements?
Tried:
const p: *Value = @ptrFromInt(@as(usize, @intCast(base)));
const len: usize = @intCast(end - base);
const s: []Value = p[0..len];
But this seems to only work at comptime.
