Skip to content

Commit 3fa5592

Browse files
committed
changing version to 2.0.6
1 parent c41df24 commit 3fa5592

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

circom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "circom"
3-
version = "2.0.5"
3+
version = "2.0.6"
44
authors = ["Costa Group UCM & iden3"]
55
edition = "2021"
66

parser/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ fn check_number_version(
114114
use errors::{CompilerVersionError, NoCompilerVersionWarning};
115115
if let Some(required_version) = version_file {
116116
if required_version.0 == version_compiler.0
117-
&& required_version.1 == version_compiler.1
118-
&& required_version.2 <= version_compiler.2 {
117+
&& (required_version.1 < version_compiler.1 ||
118+
(required_version.1 == version_compiler.1 && required_version.2 <= version_compiler.2)) {
119119
Ok(vec![])
120120
} else {
121121
let report = CompilerVersionError::produce_report(

0 commit comments

Comments
 (0)