title: Is it possible to have stack allocated arrays with the size determined at runtime in Rust?
body: <p>Is there an equivalent of <code>alloca</code> to create variable length arrays in Rust?</p>
  
  <p>I'm looking for the equivalent of the following C99 code:</p>
  
  <pre class="lang-c prettyprint-override"><code>void go(int n) {
      int array[n];
      // ...
  }
  </code></pre>