|
|
@ -1193,6 +1193,8 @@ int dummy; |
|
|
|
args += ['--crate-name', target.name] |
|
|
|
args += ['--crate-name', target.name] |
|
|
|
args += rustc.get_buildtype_args(self.get_option_for_target('buildtype', target)) |
|
|
|
args += rustc.get_buildtype_args(self.get_option_for_target('buildtype', target)) |
|
|
|
args += rustc.get_debug_args(self.get_option_for_target('debug', target)) |
|
|
|
args += rustc.get_debug_args(self.get_option_for_target('debug', target)) |
|
|
|
|
|
|
|
args += self.build.get_global_args(rustc, target.is_cross) |
|
|
|
|
|
|
|
args += self.build.get_project_args(rustc, target.subproject, target.is_cross) |
|
|
|
depfile = os.path.join(target.subdir, target.name + '.d') |
|
|
|
depfile = os.path.join(target.subdir, target.name + '.d') |
|
|
|
args += ['--emit', 'dep-info={}'.format(depfile), '--emit', 'link'] |
|
|
|
args += ['--emit', 'dep-info={}'.format(depfile), '--emit', 'link'] |
|
|
|
args += target.get_extra_args('rust') |
|
|
|
args += target.get_extra_args('rust') |
|
|
|