diff options
| author | Graydon Hoare <[email protected]> | 2011-03-25 14:32:39 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-25 14:34:32 -0700 |
| commit | 3712ee68add470947c4d42bd42ca04c9320e629c (patch) | |
| tree | 102c06a7e8f6737476d3f0ac650f890002ec62ea /src/comp/driver/rustc.rs | |
| parent | stdlib: Separate basic I/O reading functionality into a separate buf_reader o... (diff) | |
| download | rust-3712ee68add470947c4d42bd42ca04c9320e629c.tar.xz rust-3712ee68add470947c4d42bd42ca04c9320e629c.zip | |
Sketch of wiring typeck up to creader.
Diffstat (limited to 'src/comp/driver/rustc.rs')
| -rw-r--r-- | src/comp/driver/rustc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index b91d0914..72ace8c3 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -114,8 +114,9 @@ impure fn main(vec[str] args) { float_type = common.ty_f64 ); auto crate_cache = common.new_int_hash[session.crate_metadata](); + auto target_crate_num = 0; + auto sess = session.session(target_crate_num, target_cfg, crate_cache); - auto sess = session.session(target_cfg, crate_cache); let option.t[str] input_file = none[str]; let option.t[str] output_file = none[str]; let vec[str] library_search_paths = vec(); |