]> git.lizzy.rs Git - rust.git/commit
rustc: fail if LLVM is passed an invalid triple
authorRicho Healey <richo@psych0tik.net>
Wed, 29 Oct 2014 01:58:46 +0000 (18:58 -0700)
committerRicho Healey <richo@psych0tik.net>
Wed, 29 Oct 2014 20:49:32 +0000 (13:49 -0700)
commit89e8caadae53fb0429ee95a5f1e2c07b2adc2728
tree75562bffcff8f8106ebbf10f2a133de17eb662d8
parente05c3b7799b45b78baf49f05763865be838f5b43
rustc: fail if LLVM is passed an invalid triple

This changes create_target_machine to correctly return a Result (Since
the underlying LLVM function can fail and return NULL)
src/librustc/back/write.rs