Skip to content

Commit

Permalink
Fix Rust.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Nov 25, 2015
1 parent 06c7cef commit 13c9a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ def generate_rust_target(self, target, outfile):
else:
raise InvalidArguments('Unknown target type for rustc.')
args.append(cratetype)
args += rustc.get_buildtype_args(self.environment.coredata.buildtype)
args += rustc.get_buildtype_args(self.environment.coredata.get_builtin_option('buildtype'))
depfile = target.name + '.d'
args += ['--out-dir', target.subdir]
args += ['--emit', 'dep-info', '--emit', 'link']
Expand Down

0 comments on commit 13c9a74

Please sign in to comment.