Fix Rust global and local args. Closes
@@ -1193,6 +1193,8 @@ int dummy;
args += ['--crate-name', target.name]
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 += 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')
args += ['--emit', 'dep-info={}'.format(depfile), '--emit', 'link']
args += target.get_extra_args('rust')
