Skip to content

Commit

Permalink
examples/std: workaround for building ARM32 tls TAs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
DemesneGH committed Dec 24, 2024
1 parent bd120da commit b65877b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tls_client-rs/ta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion examples/tls_server-rs/ta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit b65877b

Please sign in to comment.