rust-lld-wrapper: Remove export-table to prevent conflict

Without this patch, the following error is thrown:
  rust-lld: error: --import-table and --export-table may not be used together

Tested on the following nightly versions:

rustc 1.30.0-nightly (7e8ca9f8b 2018-08-03)
rustc 1.30.0-nightly (33b923fd4 2018-08-18)
This commit is contained in:
Amaan Cheval 2018-08-23 17:18:00 +05:30 committed by Fabian
parent fbd5e136e1
commit 80e339d54c

View file

@ -12,6 +12,7 @@ def main():
# filter out args inserted by rustc
TO_REMOVE = {
"--export-table",
"--stack-first",
"--strip-debug", # TODO: Make this configurable
}