Skip to content

Commit d5349ad

Browse files
ivilaDemesneGH
authored andcommitted
compatibility: Set certain crates to specific versions
Set these crates to specific versions for compatibility with rustc 1.80: - [email protected] - [email protected] Signed-off-by: Zehui Chen <[email protected]> Reviewed-by: Yuan Zhuang <[email protected]>
1 parent c529f43 commit d5349ad

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

optee-teec/macros/Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ proc-macro = true
3030
[dependencies]
3131
quote = "0.6"
3232
syn = { version = "0.15", features = ["full"] }
33+
34+
# The newer versions of these crates require rustc 1.81, while our custom
35+
# patched STD version is 1.80, causing compatibility issues. To resolve this,
36+
# we have to set the crates to an exact compatible version.
37+
# Remove them after we upgrade our patched STD rustc.
38+
litemap = "=0.7.4"
39+
zerofrom = "=0.1.5"

optee-utee-build/Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ quote = "1.0.37"
3030
proc-macro2 = "1.0.92"
3131
syn = "2.0.90"
3232
prettyplease = "0.2.25"
33+
34+
# The newer versions of these crates require rustc 1.81, while our custom
35+
# patched STD version is 1.80, causing compatibility issues. To resolve this,
36+
# we have to set the crates to an exact compatible version.
37+
# Remove them after we upgrade our patched STD rustc.
38+
litemap = "=0.7.4"
39+
zerofrom = "=0.1.5"

optee-utee/macros/Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ proc-macro = true
3030
[dependencies]
3131
quote = "0.6"
3232
syn = { version = "0.15", features = ["full"] }
33+
34+
# The newer versions of these crates require rustc 1.81, while our custom
35+
# patched STD version is 1.80, causing compatibility issues. To resolve this,
36+
# we have to set the crates to an exact compatible version.
37+
# Remove them after we upgrade our patched STD rustc.
38+
litemap = "=0.7.4"
39+
zerofrom = "=0.1.5"

0 commit comments

Comments
 (0)