This is an automated email from the ASF dual-hosted git repository. yuanz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
commit b65877b1721b13baada47c69a7f1ff6421541ad2 Author: Yuan Zhuang <[email protected]> AuthorDate: Tue Dec 24 10:32:50 2024 +0000 examples/std: workaround for building ARM32 tls TAs Change opt-level as workaround to solve the building error for ring: "warning: max-inline-insns-single limit reached" and "cc1: all warnings being treated as errors". Signed-off-by: Yuan Zhuang <[email protected]> Reviewed-by: Sumit Garg <[email protected]> --- examples/tls_client-rs/ta/Cargo.toml | 2 +- examples/tls_server-rs/ta/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tls_client-rs/ta/Cargo.toml b/examples/tls_client-rs/ta/Cargo.toml index b051d64..353b704 100644 --- a/examples/tls_client-rs/ta/Cargo.toml +++ b/examples/tls_client-rs/ta/Cargo.toml @@ -44,7 +44,7 @@ proto = { path = "../proto" } [profile.release] panic = "abort" lto = false -opt-level = 1 +opt-level = 3 [patch.crates-io] ring = { git = "https://github.com/DemesneGH/ring-optee.git", branch = "0.16.20-optee" } diff --git a/examples/tls_server-rs/ta/Cargo.toml b/examples/tls_server-rs/ta/Cargo.toml index fe86cb3..b1ccecf 100644 --- a/examples/tls_server-rs/ta/Cargo.toml +++ b/examples/tls_server-rs/ta/Cargo.toml @@ -46,7 +46,7 @@ proto = { path = "../proto" } [profile.release] panic = "abort" lto = false -opt-level = 1 +opt-level = 3 [patch.crates-io] ring = { git = "https://github.com/DemesneGH/ring-optee.git", branch = "0.16.20-optee" } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
