This is an automated email from the ASF dual-hosted git repository. yuanz pushed a commit to branch release-v0.4.0 in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
commit 07e676b55b43da33ece7bf33bc0a6799320c1683 Author: ivila <[email protected]> AuthorDate: Thu Feb 27 10:34:12 2025 +0800 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]> --- optee-teec/macros/Cargo.toml | 7 +++++++ optee-utee-build/Cargo.toml | 7 +++++++ optee-utee/macros/Cargo.toml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/optee-teec/macros/Cargo.toml b/optee-teec/macros/Cargo.toml index 02e1e3d..c1cbf1d 100644 --- a/optee-teec/macros/Cargo.toml +++ b/optee-teec/macros/Cargo.toml @@ -30,3 +30,10 @@ proc-macro = true [dependencies] quote = "0.6" syn = { version = "0.15", features = ["full"] } + +# The newer versions of these crates require rustc 1.81, while our custom +# patched STD version is 1.80, causing compatibility issues. To resolve this, +# we have to set the crates to an exact compatible version. +# Remove them after we upgrade our patched STD rustc. +litemap = "=0.7.4" +zerofrom = "=0.1.5" diff --git a/optee-utee-build/Cargo.toml b/optee-utee-build/Cargo.toml index 8c202c6..9a1a541 100644 --- a/optee-utee-build/Cargo.toml +++ b/optee-utee-build/Cargo.toml @@ -30,3 +30,10 @@ quote = "1.0.37" proc-macro2 = "1.0.92" syn = "2.0.90" prettyplease = "0.2.25" + +# The newer versions of these crates require rustc 1.81, while our custom +# patched STD version is 1.80, causing compatibility issues. To resolve this, +# we have to set the crates to an exact compatible version. +# Remove them after we upgrade our patched STD rustc. +litemap = "=0.7.4" +zerofrom = "=0.1.5" diff --git a/optee-utee/macros/Cargo.toml b/optee-utee/macros/Cargo.toml index c143b1a..43c6a29 100644 --- a/optee-utee/macros/Cargo.toml +++ b/optee-utee/macros/Cargo.toml @@ -30,3 +30,10 @@ proc-macro = true [dependencies] quote = "0.6" syn = { version = "0.15", features = ["full"] } + +# The newer versions of these crates require rustc 1.81, while our custom +# patched STD version is 1.80, causing compatibility issues. To resolve this, +# we have to set the crates to an exact compatible version. +# Remove them after we upgrade our patched STD rustc. +litemap = "=0.7.4" +zerofrom = "=0.1.5" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
