You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no way to allocate a dynamically-sized array on the stack. i.e. let x = [0; y] where y is an arbitrary usize. There are issues with stack exhaustion here, but rust already checks for it, and LLVM already supports dynamic arrays through C99, so, it'd be a very useful feature to have for systems which do not have a heap.
The text was updated successfully, but these errors were encountered:
Currently, there's no way to allocate a dynamically-sized array on the stack. i.e.
let x = [0; y]
wherey
is an arbitraryusize
. There are issues with stack exhaustion here, but rust already checks for it, and LLVM already supports dynamic arrays through C99, so, it'd be a very useful feature to have for systems which do not have a heap.The text was updated successfully, but these errors were encountered: