auto merge of #11121 : vadimcn/rust/no-c++2, r=alexcrichton
This PR removes Rust's dependency on C++ for exception handling. Instead, it will use the unwind library API directly. closes #10469
This commit is contained in:
commit
32e730f122
16 changed files with 355 additions and 161 deletions
|
|
@ -59,6 +59,7 @@ for llconfig in sys.argv[3:]:
|
|||
for lib in out.strip().split(' '):
|
||||
lib = lib[2:] # chop of the leading '-l'
|
||||
f.write("#[link(name = \"" + lib + "\", kind = \"static\")]\n")
|
||||
f.write("#[link(name = \"stdc++\")]\n")
|
||||
if os == 'win32':
|
||||
f.write("#[link(name = \"imagehlp\")]\n")
|
||||
f.write("extern {}\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue