Fix fallout in rusti & rustpkg.
This commit is contained in:
parent
cd82c4566b
commit
601c2edb4d
3 changed files with 8 additions and 8 deletions
|
|
@ -64,7 +64,7 @@ impl PackageScript {
|
|||
}
|
||||
|
||||
let binary = os::args()[0];
|
||||
let options: @session::options = @{
|
||||
let options = @session::options {
|
||||
binary: binary,
|
||||
crate_type: session::bin_crate,
|
||||
.. *session::basic_options()
|
||||
|
|
@ -72,7 +72,7 @@ impl PackageScript {
|
|||
let input = driver::file_input(script);
|
||||
let sess = driver::build_session(options, diagnostic::emit);
|
||||
let cfg = driver::build_configuration(sess, binary, input);
|
||||
let {crate, _} = driver::compile_upto(sess, cfg, input,
|
||||
let (crate, _) = driver::compile_upto(sess, cfg, input,
|
||||
driver::cu_parse, None);
|
||||
let mut id = None;
|
||||
let mut vers = None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue