Skip to content

Commit

Permalink
Always pass -O to rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Jul 6, 2014
1 parent 040cc37 commit 49c3cde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/ops/cargo_rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ fn prepare_rustc(root: &Path, target: &Target, crate_types: Vec<&str>,

build_base_args(&mut args, target, crate_types, cx);
build_deps_args(&mut args, cx);
args.push("-O".to_string());

util::process("rustc")
.cwd(root.clone())
Expand Down

0 comments on commit 49c3cde

Please sign in to comment.