rust: drop duplicate variable assignment
prefix_for() and the deleted line are identical. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
@@ -210,7 +210,6 @@ def rust_gen_target(d, thing, wd):
|
||||
llvm_target = d.getVarFlag('LLVM_TARGET', arch, True)
|
||||
target_pointer_width = d.getVarFlag('TARGET_POINTER_WIDTH', arch, True)
|
||||
endian = d.getVarFlag('TARGET_ENDIAN', arch, True)
|
||||
prefix = d.getVar('{}_PREFIX'.format(thing), True)
|
||||
ccache = d.getVar('CCACHE', True)
|
||||
linker = "{}{}gcc".format(ccache, prefix)
|
||||
objcopy = "{}objcopy".format(prefix)
|
||||
|
||||
Reference in New Issue
Block a user