diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-17 20:31:55 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-18 13:09:49 -0700 |
| commit | 0a8bffceb3ba25b12926bbd42ed3d282f573c9a0 (patch) | |
| tree | 049632f6bf5475751688f571ee3c7d79eda9769a /src/rt/rust_shape.cpp | |
| parent | c2d8a4df35a0a22d64d7d15ccd5fe25a495a2bc1 (diff) | |
| download | rust-0a8bffceb3ba25b12926bbd42ed3d282f573c9a0.tar.gz rust-0a8bffceb3ba25b12926bbd42ed3d282f573c9a0.zip | |
Simplify the _rust_main/rust_start interface
rust_start will always call _rust_main with the command line args, and it is _rust_main's responsibility to free the args ivec heap. _rust_main will be generated slightly differently depending on whether main takes an ivec or not: if so then it's just passed through to main, otherwise it frees the ivec directly.
Diffstat (limited to 'src/rt/rust_shape.cpp')
0 files changed, 0 insertions, 0 deletions
