diff options
Diffstat (limited to 'src/comp/driver')
| -rw-r--r-- | src/comp/driver/rustc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index afa2a9bb..db069279 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -168,6 +168,8 @@ impure fn main(vec[str] args) { ot = trans.output_type_none; } else if (_str.eq(arg, "-S")) { ot = trans.output_type_assembly; + } else if (_str.eq(arg, "-c")) { + ot = trans.output_type_object; } else if (_str.eq(arg, "-o")) { if (i+1u < len) { output_file = some(args.(i+1u)); |