Bump dependencies

This commit is contained in:
Minseong Jang
2022-10-20 13:04:11 +09:00
parent 3f91b321a5
commit f39851625a
4 changed files with 12 additions and 9 deletions

12
Cargo.lock generated
View File

@@ -33,9 +33,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.0.15" version = "4.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bf8832993da70a4c6d13c581f4463c2bdda27b9bf1c5498dc4365543abe6d6f" checksum = "06badb543e734a2d6568e19a40af66ed5364360b9226184926f89d229b4b4267"
dependencies = [ dependencies = [
"atty", "atty",
"bitflags", "bitflags",
@@ -151,9 +151,9 @@ dependencies = [
[[package]] [[package]]
name = "lang-c" name = "lang-c"
version = "0.11.0" version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a402480a9a8d5a8b6348ddb87bc7e7d16a0899086b5c6ba9ff6df622e9f4692a" checksum = "28a07abd9aba69140d1bb484d9c05119fe2f834f9e2112f93bd61dff4fed62f6"
[[package]] [[package]]
name = "libc" name = "libc"
@@ -178,9 +178,9 @@ checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1"
[[package]] [[package]]
name = "ordered-float" name = "ordered-float"
version = "3.2.0" version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "129d36517b53c461acc6e1580aeb919c8ae6708a4b1eae61c4463a615d4f0411" checksum = "1f74e330193f90ec45e2b257fa3ef6df087784157ac1ad2c1e71c62837b03aa7"
dependencies = [ dependencies = [
"num-traits", "num-traits",
] ]

View File

@@ -29,12 +29,12 @@ required-features = ["build-bin"]
build-bin = ["clap"] build-bin = ["clap"]
[dependencies] [dependencies]
clap = { version = "4.0.15", features = ["derive"], optional = true } clap = { version = "4.0.17", features = ["derive"], optional = true }
thiserror = "1.0.37" thiserror = "1.0.37"
lang-c = "0.11.0" lang-c = "0.14.0"
itertools = "0.10.5" itertools = "0.10.5"
tempfile = "3.3.0" tempfile = "3.3.0"
ordered-float = "3.2.0" ordered-float = "3.3.0"
hexf-parse = "0.2.1" hexf-parse = "0.2.1"
wait-timeout = "0.2.0" wait-timeout = "0.2.0"
peg = "0.8.1" peg = "0.8.1"

View File

@@ -230,6 +230,7 @@ impl AssertSupported for DerivedDeclarator {
Self::Function(func_decl) => func_decl.assert_supported(), Self::Function(func_decl) => func_decl.assert_supported(),
// Support when K&R function has no parameter // Support when K&R function has no parameter
Self::KRFunction(kr_func_decl) => assert!(kr_func_decl.is_empty()), Self::KRFunction(kr_func_decl) => assert!(kr_func_decl.is_empty()),
Self::Block(_) => panic!("DerivedDeclarator::Block"),
} }
} }
} }
@@ -488,6 +489,7 @@ impl AssertSupported for Label {
match self { match self {
Self::Identifier(_) => panic!("Label::Identifier"), Self::Identifier(_) => panic!("Label::Identifier"),
Self::Case(_) => (), Self::Case(_) => (),
Self::CaseRange(_) => panic!("Label::CaseRange"),
Self::Default => (), Self::Default => (),
} }
} }

View File

@@ -1117,6 +1117,7 @@ impl Dtype {
assert!(kr_func_decl.is_empty()); assert!(kr_func_decl.is_empty());
Self::function(self, Vec::new()) Self::function(self, Vec::new())
} }
ast::DerivedDeclarator::Block(_) => panic!(),
}; };
} }