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:
bors 2013-12-24 12:46:32 -08:00
commit 32e730f122
16 changed files with 355 additions and 161 deletions

View file

@ -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")