diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-05 17:17:49 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-05 17:18:26 -0700 |
| commit | d6f455ebca79b6a3d374158a047b1cdd744ebc5e (patch) | |
| tree | da66732bfd2d5a0ec9bc53d89487e2a74d42ce24 /src/rt/rust_run_program.cpp | |
| parent | babe50633349cd29f0a0757079e0e13bdc0310fa (diff) | |
| download | rust-d6f455ebca79b6a3d374158a047b1cdd744ebc5e.tar.gz rust-d6f455ebca79b6a3d374158a047b1cdd744ebc5e.zip | |
rustllvm: Only initialize command-line arguments once
In my WIP on rustpkg, I was calling driver code that calls LLVMRustWriteOutputFile more than once. This was making LLVM unhappy, since that function has code that initializes the command-line options for LLVM, and I guess you can't do that more than once. So, check if they've already been initialized.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions
