Sword-Destiny commented on issue #113: URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/113#issuecomment-1824306514
> > We should only try to port security sensitive portions of a normal world application to a TA. Otherwise if you port your entire application as TA then the real isolation benefit is somewhat lost. > > > Start with `no_std` first and then if there are real use-cases that pops up and need `std` support we can have our minimal `libstd` similar to the Zephyr case > > I understand your perspective. BTW I think it will also help to reduce the memory cost of Rust TAs. If you're interested in collaborating on this, any contribution will be appreciated. Thanks! The most effective way to reduce the size of TA is no_std and strip. There are other ways, such as: ```toml [profile.release] panic = "abort" opt-level = "z" lto = "fat" debug = false strip = "symbols" codegen-units = 1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For additional commands, e-mail: dev-h...@teaclave.apache.org