Skip to content

Commit

Permalink
Fix output calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Jan 28, 2019
1 parent 6814c20 commit 2a95bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/context/compilation_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl<'a, 'cfg: 'a> CompilationFiles<'a, 'cfg> {
let out_dir = self.out_dir(unit);
let file_stem = self.file_stem(unit);
let link_stem = self.link_stem(unit);
let info = if unit.target.for_host() {
let info = if unit.kind == Kind::Host {
&bcx.host_info
} else {
&bcx.target_info
Expand Down

0 comments on commit 2a95bd0

Please sign in to comment.