Skip to content

Commit

Permalink
Update clang-sys.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Feb 15, 2017
1 parent f1caa10 commit aed97c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ quasi_codegen = "0.29"
[dependencies]
cexpr = "0.2"
cfg-if = "0.1.0"
clang-sys = { version = "0.12", features = ["runtime", "clang_3_9"] }
clang-sys = { version = "0.14", features = ["runtime", "clang_3_9"] }
lazy_static = "0.2.1"
rustc-serialize = "0.3.19"
syntex_syntax = "0.54"
Expand Down
4 changes: 0 additions & 4 deletions src/clang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,6 @@ pub enum LayoutError {
impl ::std::convert::From<i32> for LayoutError {
fn from(val: i32) -> Self {
use self::LayoutError::*;
let val = match CXTypeLayoutError::from_raw(val) {
Some(val) => val,
None => return Unknown,
};

match val {
CXTypeLayoutError_Invalid => Invalid,
Expand Down

0 comments on commit aed97c5

Please sign in to comment.